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

@ -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);
}