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

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-gfx: . Created 5 years, 3 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/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 bbbf84a87cf5fbe86227184fac45f8800fea6cde..8ae61d4f0d404a3186c9a7dd8988e37316d74302 100644
--- a/ui/base/dragdrop/drop_target_event.cc
+++ b/ui/base/dragdrop/drop_target_event.cc
@@ -12,8 +12,8 @@ namespace ui {
// DropTargetEvent
DropTargetEvent::DropTargetEvent(const OSExchangeData& data,
- const gfx::Point& location,
- const gfx::Point& root_location,
+ const gfx::PointF& location,
+ const gfx::PointF& root_location,
int source_operations)
: LocatedEvent(ET_DROP_TARGET_EVENT,
location,
@@ -21,8 +21,7 @@ DropTargetEvent::DropTargetEvent(const OSExchangeData& data,
EventTimeForNow(),
0),
data_(data),
- source_operations_(source_operations) {
-}
+ source_operations_(source_operations) {}
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698