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

Unified Diff: ui/base/dragdrop/drop_target_event.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
« no previous file with comments | « ui/base/dragdrop/drop_target_event.h ('k') | ui/base/touch/selection_bound_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/dragdrop/drop_target_event.cc
diff --git a/ui/base/dragdrop/drop_target_event.cc b/ui/base/dragdrop/drop_target_event.cc
index 8ae61d4f0d404a3186c9a7dd8988e37316d74302..213fbeeddf002fede71e0aa21c739c50579f7927 100644
--- a/ui/base/dragdrop/drop_target_event.cc
+++ b/ui/base/dragdrop/drop_target_event.cc
@@ -12,12 +12,12 @@ namespace ui {
// DropTargetEvent
DropTargetEvent::DropTargetEvent(const OSExchangeData& data,
- const gfx::PointF& location,
- const gfx::PointF& root_location,
+ const gfx::Point& location,
+ const gfx::Point& root_location,
int source_operations)
: LocatedEvent(ET_DROP_TARGET_EVENT,
- location,
- root_location,
+ gfx::PointF(location),
+ gfx::PointF(root_location),
EventTimeForNow(),
0),
data_(data),
« no previous file with comments | « ui/base/dragdrop/drop_target_event.h ('k') | ui/base/touch/selection_bound_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698