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

Unified Diff: ui/events/event.cc

Issue 2648583003: Handle floating point coordinates from ozone to exosphere (Closed)
Patch Set: extended X/mac tests Created 3 years, 11 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: ui/events/event.cc
diff --git a/ui/events/event.cc b/ui/events/event.cc
index f17899623609c16403af63fadcd550aef738e08c..a5fe95a95480c1ae868c46e649d815ef04041623 100644
--- a/ui/events/event.cc
+++ b/ui/events/event.cc
@@ -479,9 +479,8 @@ LocatedEvent::LocatedEvent(const base::NativeEvent& native_event)
: Event(native_event,
EventTypeFromNative(native_event),
EventFlagsFromNative(native_event)),
- location_(EventLocationFromNative(native_event)),
- root_location_(location_) {
-}
+ location_(EventLocationFromNativeF(native_event)),
+ root_location_(location_) {}
LocatedEvent::LocatedEvent(EventType type,
const gfx::PointF& location,

Powered by Google App Engine
This is Rietveld 408576698