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

Unified Diff: content/browser/renderer_host/input/touch_action_filter.cc

Issue 304793003: use enum to specify deviceSource for fling animation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased for parallel breaking changes Created 6 years, 7 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
Index: content/browser/renderer_host/input/touch_action_filter.cc
diff --git a/content/browser/renderer_host/input/touch_action_filter.cc b/content/browser/renderer_host/input/touch_action_filter.cc
index 54f18253c57492d065716dcea78f7c845cf778bc..53d47c4234c665b6ecc73909aeee7951aebc2240 100644
--- a/content/browser/renderer_host/input/touch_action_filter.cc
+++ b/content/browser/renderer_host/input/touch_action_filter.cc
@@ -46,7 +46,7 @@ bool TouchActionFilter::FilterGestureEvent(WebGestureEvent* gesture_event) {
break;
case WebInputEvent::GestureFlingStart:
- if (gesture_event->sourceDevice != WebGestureEvent::Touchscreen)
+ if (gesture_event->sourceDevice != blink::WebGestureDeviceTouchscreen)
break;
if (!drop_scroll_gesture_events_) {
if (allowed_touch_action_ == TOUCH_ACTION_PAN_X)

Powered by Google App Engine
This is Rietveld 408576698