Commit 46774a6a authored by Nico Weber's avatar Nico Weber

Work on getting things built with -Wimplicit-fallthrough. This CL was uploaded by git cl split.

Bug: 177475
R=erg@chromium.org

Change-Id: I13b6ae844b98768aaf35eda5e695993617eccb1f
Reviewed-on: https://chromium-review.googlesource.com/889860Reviewed-by: default avatarElliot Glaysher <erg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#532111}
parent ef4dcff4
...@@ -337,6 +337,7 @@ void DesktopWindowTreeHostX11::OnFocusEvent(bool focus_in, ...@@ -337,6 +337,7 @@ void DesktopWindowTreeHostX11::OnFocusEvent(bool focus_in,
// (FocusOut with NotifyNonlinearVirtual) // (FocusOut with NotifyNonlinearVirtual)
// |has_pointer_focus_| should be false before and after this event. // |has_pointer_focus_| should be false before and after this event.
has_pointer_focus_ = false; has_pointer_focus_ = false;
break;
default: default:
break; break;
} }
...@@ -2065,7 +2066,7 @@ uint32_t DesktopWindowTreeHostX11::DispatchEvent( ...@@ -2065,7 +2066,7 @@ uint32_t DesktopWindowTreeHostX11::DispatchEvent(
num_coalesced = ui::CoalescePendingMotionEvents(xev, &last_event); num_coalesced = ui::CoalescePendingMotionEvents(xev, &last_event);
if (num_coalesced > 0) if (num_coalesced > 0)
xev = &last_event; xev = &last_event;
// fallthrough FALLTHROUGH;
case ui::ET_TOUCH_PRESSED: case ui::ET_TOUCH_PRESSED:
case ui::ET_TOUCH_RELEASED: { case ui::ET_TOUCH_RELEASED: {
ui::TouchEvent touchev(xev); ui::TouchEvent touchev(xev);
......
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