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

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

Issue 330613003: Revert 276728 "Fix slop region boundary handling." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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: trunk/src/content/browser/renderer_host/ui_events_helper.cc
===================================================================
--- trunk/src/content/browser/renderer_host/ui_events_helper.cc (revision 276731)
+++ trunk/src/content/browser/renderer_host/ui_events_helper.cc (working copy)
@@ -314,7 +314,7 @@
point->position.x = event.x();
point->position.y = event.y();
- const gfx::PointF& root_point = event.root_location_f();
+ const gfx::Point root_point = event.root_location();
point->screenPosition.x = root_point.x();
point->screenPosition.y = root_point.y();
« no previous file with comments | « trunk/src/content/browser/renderer_host/render_widget_host_view_aura_unittest.cc ('k') | trunk/src/ui/events/event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698