Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(308)

Unified Diff: ui/events/blink/input_handler_proxy.cc

Issue 1631563002: Fix build issue in Debug mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/blink/input_handler_proxy.cc
diff --git a/ui/events/blink/input_handler_proxy.cc b/ui/events/blink/input_handler_proxy.cc
index dff25a6404e5c2457dd350b1234eb36231470f28..05dfaaa5399dc44b3d83d448db9ede08bcc5f4e2 100644
--- a/ui/events/blink/input_handler_proxy.cc
+++ b/ui/events/blink/input_handler_proxy.cc
@@ -601,12 +601,11 @@ InputHandlerProxy::HandleGestureScrollUpdate(
default:
return DID_NOT_HANDLE;
}
- } else {
- cc::InputHandlerScrollResult scroll_result =
- input_handler_->ScrollBy(&scroll_state);
- HandleOverscroll(scroll_point, scroll_result);
- return scroll_result.did_scroll ? DID_HANDLE : DROP_EVENT;
}
+ cc::InputHandlerScrollResult scroll_result =
+ input_handler_->ScrollBy(&scroll_state);
+ HandleOverscroll(scroll_point, scroll_result);
+ return scroll_result.did_scroll ? DID_HANDLE : DROP_EVENT;
}
InputHandlerProxy::EventDisposition InputHandlerProxy::HandleGestureScrollEnd(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698