Commit 39f9c298 authored by Nico Weber's avatar Nico Weber Committed by Commit Bot

Remaining tricky bits to build webkit_unit_tests with -Wimplicit-fallthrough.

See https://bugs.chromium.org/p/chromium/issues/detail?id=722928#c72
which says that FALLTHROUGH is intended here.

This CL was uploaded by git cl split.

R=tdresser@chromium.org

Bug: 177475
Change-Id: I3555a1bb32d6b7ec5a2f68dd13266da2e48af62c
Reviewed-on: https://chromium-review.googlesource.com/890429Reviewed-by: default avatarDave Tapuska <dtapuska@chromium.org>
Reviewed-by: default avatarTimothy Dresser <tdresser@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#532514}
parent cb56fe8e
...@@ -431,6 +431,7 @@ FrameInputHandlerImpl::HandlingState::HandlingState( ...@@ -431,6 +431,7 @@ FrameInputHandlerImpl::HandlingState::HandlingState(
switch (state) { switch (state) {
case UpdateState::kIsPasting: case UpdateState::kIsPasting:
render_frame->set_is_pasting(true); render_frame->set_is_pasting(true);
FALLTHROUGH; // Matches RenderFrameImpl::OnPaste() which sets both.
case UpdateState::kIsSelectingRange: case UpdateState::kIsSelectingRange:
render_frame->set_handling_select_range(true); render_frame->set_handling_select_range(true);
break; break;
......
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