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

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

Issue 1218663006: Use new WebTouchPoint field names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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/synthetic_gesture_target_android.cc
diff --git a/content/browser/renderer_host/input/synthetic_gesture_target_android.cc b/content/browser/renderer_host/input/synthetic_gesture_target_android.cc
index 836da7db49eba745a8ca5621bae54bc6b1fb4236..2b4ac746ad10ac9f4ecd833a52373eaf0ad7a6a2 100644
--- a/content/browser/renderer_host/input/synthetic_gesture_target_android.cc
+++ b/content/browser/renderer_host/input/synthetic_gesture_target_android.cc
@@ -78,7 +78,8 @@ void SyntheticGestureTargetAndroid::DispatchWebTouchEventToPlatform(
const unsigned num_touches = web_touch.touchesLength;
for (unsigned i = 0; i < num_touches; ++i) {
const blink::WebTouchPoint* point = &web_touch.touches[i];
- TouchSetPointer(env, i, point->position.x, point->position.y, point->id);
+ TouchSetPointer(env, i, point->position.x, point->position.y,
+ point->pointerId);
}
TouchInject(env, action, num_touches,

Powered by Google App Engine
This is Rietveld 408576698