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

Unified Diff: content/browser/renderer_host/gesture_event_filter.cc

Issue 11740009: Removed references to the old sourceDevice field (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 12 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/gesture_event_filter.cc
diff --git a/content/browser/renderer_host/gesture_event_filter.cc b/content/browser/renderer_host/gesture_event_filter.cc
index 24842892f71fdb4533b1a7c120b9ebba1b2e17b3..555eee45d9d5908f503319022e4e246f8243a9a3 100644
--- a/content/browser/renderer_host/gesture_event_filter.cc
+++ b/content/browser/renderer_host/gesture_event_filter.cc
@@ -121,7 +121,7 @@ bool GestureEventFilter::ShouldForwardForBounceReduction(
bool GestureEventFilter::ShouldForward(const WebGestureEvent& gesture_event) {
// Discard a zero-velocity fling start from the trackpad.
if (gesture_event.type == WebInputEvent::GestureFlingStart &&
- gesture_event.data.flingStart.sourceDevice == WebGestureEvent::Touchpad &&
+ gesture_event.sourceDevice == WebGestureEvent::Touchpad &&
gesture_event.data.flingStart.velocityX == 0 &&
gesture_event.data.flingStart.velocityY == 0) {
return false;
« no previous file with comments | « content/browser/android/content_view_core_impl.cc ('k') | content/browser/renderer_host/render_widget_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698