Commit 425e8dca authored by Nico Weber's avatar Nico Weber

Work more on getting things built with -Wimplicit-fallthrough.

This CL was uploaded by git cl split.

R=hbos@chromium.org

Bug: 177475
Change-Id: I9bf72aa8640eb2d566687d126e89b0d1c24f2606
Reviewed-on: https://chromium-review.googlesource.com/889729Reviewed-by: default avatarHenrik Boström <hbos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#532360}
parent c19b21b6
...@@ -342,10 +342,10 @@ bool RTCDataChannel::HasPendingActivity() const { ...@@ -342,10 +342,10 @@ bool RTCDataChannel::HasPendingActivity() const {
switch (ready_state_) { switch (ready_state_) {
case kReadyStateConnecting: case kReadyStateConnecting:
has_valid_listeners |= HasEventListeners(EventTypeNames::open); has_valid_listeners |= HasEventListeners(EventTypeNames::open);
// fallthrough intended FALLTHROUGH;
case kReadyStateOpen: case kReadyStateOpen:
has_valid_listeners |= HasEventListeners(EventTypeNames::message); has_valid_listeners |= HasEventListeners(EventTypeNames::message);
// fallthrough intended FALLTHROUGH;
case kReadyStateClosing: case kReadyStateClosing:
has_valid_listeners |= HasEventListeners(EventTypeNames::error) || has_valid_listeners |= HasEventListeners(EventTypeNames::error) ||
HasEventListeners(EventTypeNames::close); HasEventListeners(EventTypeNames::close);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment