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

Unified Diff: content/browser/accessibility/touch_accessibility_aura_browsertest.cc

Issue 1372253002: gfx: Make conversions from gfx::Point to PointF explicit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pointfconvert-event: mandol_line Created 5 years, 1 month 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/accessibility/touch_accessibility_aura_browsertest.cc
diff --git a/content/browser/accessibility/touch_accessibility_aura_browsertest.cc b/content/browser/accessibility/touch_accessibility_aura_browsertest.cc
index fe92e3bad3e6d2c219898790163faefb9efe5731..58407e55a562d3d3fd7c986664740e298aba71c0 100644
--- a/content/browser/accessibility/touch_accessibility_aura_browsertest.cc
+++ b/content/browser/accessibility/touch_accessibility_aura_browsertest.cc
@@ -80,8 +80,8 @@ IN_PROC_BROWSER_TEST_F(TouchAccessibilityBrowserTest,
// cell. A touch exploration event is just a mouse move event with
// the ui::EF_TOUCH_ACCESSIBILITY flag set.
gfx::Rect bounds = window->GetBoundsInRootWindow();
- gfx::PointF location(bounds.x() + 50 * col + 25,
- bounds.y() + 50 * row + 25);
+ gfx::Point location(bounds.x() + 50 * col + 25,
+ bounds.y() + 50 * row + 25);
int flags = ui::EF_TOUCH_ACCESSIBILITY;
scoped_ptr<ui::Event> mouse_move_event(new ui::MouseEvent(
ui::ET_MOUSE_MOVED, location, location, ui::EventTimeForNow(),
« no previous file with comments | « components/mus/ws/event_dispatcher_unittest.cc ('k') | content/browser/renderer_host/input/input_router_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698