Replace RTC_FALLTHROUGH with ABSL_FALLTHROUGH_INTENTED

Bug: None
Change-Id: I7287403f3fb13b8e30f92ca3cf1882b03bb53a6e
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/166176
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30283}
This commit is contained in:
Danil Chapovalov
2020-01-16 14:41:10 +01:00
committed by Commit Bot
parent 4c1086a36a
commit 64f1f3f04e
23 changed files with 130 additions and 384 deletions

View File

@ -152,7 +152,6 @@ rtc_library("video_coding") {
"../../rtc_base/experiments:rate_control_settings",
"../../rtc_base/experiments:rtt_mult_experiment",
"../../rtc_base/synchronization:sequence_checker",
"../../rtc_base/system:fallthrough",
"../../rtc_base/task_utils:repeating_task",
"../../rtc_base/third_party/base64",
"../../rtc_base/time:timestamp_extrapolator",
@ -249,9 +248,7 @@ rtc_source_set("codec_globals_headers") {
"codecs/vp9/include/vp9_globals.h",
]
deps = [
"../../rtc_base:checks",
]
deps = [ "../../rtc_base:checks" ]
}
rtc_library("video_coding_utility") {
@ -672,9 +669,7 @@ if (rtc_include_tests) {
bundle_data("video_coding_modules_tests_resources_bundle_data") {
testonly = true
sources = video_coding_modules_tests_resources
outputs = [
"{{bundle_resources_dir}}/{{source_file_part}}",
]
outputs = [ "{{bundle_resources_dir}}/{{source_file_part}}" ]
}
}
}

View File

@ -13,12 +13,12 @@
#include <algorithm>
#include <limits>
#include "absl/base/macros.h"
#include "absl/types/variant.h"
#include "modules/video_coding/frame_object.h"
#include "modules/video_coding/packet_buffer.h"
#include "rtc_base/checks.h"
#include "rtc_base/logging.h"
#include "rtc_base/system/fallthrough.h"
namespace webrtc {
namespace video_coding {
@ -78,7 +78,7 @@ void RtpFrameReferenceFinder::RetryStashedFrames() {
case kHandOff:
complete_frame = true;
HandOffFrame(std::move(*frame_it));
RTC_FALLTHROUGH();
ABSL_FALLTHROUGH_INTENDED;
case kDrop:
frame_it = stashed_frames_.erase(frame_it);
}