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

Unified Diff: ash/sticky_keys/sticky_keys_unittest.cc

Issue 139983009: ui::LocatedEvent location() returns gfx::PointF (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Undo accidental change. Created 6 years, 8 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: ash/sticky_keys/sticky_keys_unittest.cc
diff --git a/ash/sticky_keys/sticky_keys_unittest.cc b/ash/sticky_keys/sticky_keys_unittest.cc
index 4c505e172000da9168821f1235daace6de67c1dc..36c04d5094ff3f81dc9ebcf429c6102cdb48501c 100644
--- a/ash/sticky_keys/sticky_keys_unittest.cc
+++ b/ash/sticky_keys/sticky_keys_unittest.cc
@@ -883,8 +883,8 @@ TEST_P(StickyKeysMouseDispatchTest, MouseEventDispatchImpl) {
// Test mouse press event is correctly modified and has correct DIP location.
gfx::Point physical_location(400, 400);
- gfx::Point dip_location(physical_location.x() / scale_factor,
- physical_location.y() / scale_factor);
+ gfx::PointF dip_location(physical_location.x() / scale_factor,
+ physical_location.y() / scale_factor);
ev.reset(GenerateMouseEventAt(true, physical_location));
ui::EventDispatchDetails details = dispatcher->OnEventFromSource(ev.get());
buffer.PopEvents(&events);
« no previous file with comments | « ash/shelf/shelf_view.cc ('k') | ash/system/tray/actionable_view.cc » ('j') | ui/events/event.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698