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

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

Issue 328733003: Fix slop region boundary handling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix windows compile. Created 6 years, 6 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/ui_events_helper.cc
diff --git a/content/browser/renderer_host/ui_events_helper.cc b/content/browser/renderer_host/ui_events_helper.cc
index 1fafff40f7d47a8a47a54c8ed469735e2661d9ed..7588f68237ae8e3a5219a2b63ea8a54385357a3e 100644
--- a/content/browser/renderer_host/ui_events_helper.cc
+++ b/content/browser/renderer_host/ui_events_helper.cc
@@ -314,7 +314,7 @@ blink::WebTouchPoint* UpdateWebTouchEventFromUIEvent(
point->position.x = event.x();
point->position.y = event.y();
- const gfx::Point root_point = event.root_location();
+ const gfx::PointF root_point = event.root_location_f();
sadrul 2014/06/11 20:58:12 &
tdresser 2014/06/12 12:45:24 Done.
point->screenPosition.x = root_point.x();
point->screenPosition.y = root_point.y();

Powered by Google App Engine
This is Rietveld 408576698