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

Unified Diff: content/browser/renderer_host/input/synthetic_gesture_target_aura.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_aura.cc
diff --git a/content/browser/renderer_host/input/synthetic_gesture_target_aura.cc b/content/browser/renderer_host/input/synthetic_gesture_target_aura.cc
index 8bcda99627d4502ce2cb292e91cdfb56be0069bf..b5bb34f665f79d4d93a20164f498466d64b9de80 100644
--- a/content/browser/renderer_host/input/synthetic_gesture_target_aura.cc
+++ b/content/browser/renderer_host/input/synthetic_gesture_target_aura.cc
@@ -34,8 +34,8 @@ void SyntheticGestureTargetAura::DispatchWebTouchEventToPlatform(
for (size_t i = 0; i < touch_with_latency.event.touchesLength; i++) {
touch_with_latency.event.touches[i].position.x *= device_scale_factor_;
touch_with_latency.event.touches[i].position.y *= device_scale_factor_;
- touch_with_latency.event.touches[i].radiusX *= device_scale_factor_;
- touch_with_latency.event.touches[i].radiusY *= device_scale_factor_;
+ touch_with_latency.event.touches[i].width *= device_scale_factor_;
+ touch_with_latency.event.touches[i].height *= device_scale_factor_;
}
ScopedVector<ui::TouchEvent> events;
bool conversion_success = MakeUITouchEventsFromWebTouchEvents(

Powered by Google App Engine
This is Rietveld 408576698