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

Unified Diff: chrome/browser/ui/views/frame/browser_root_view.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: chrome/browser/ui/views/frame/browser_root_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_root_view.cc b/chrome/browser/ui/views/frame/browser_root_view.cc
index 13125e58f45635cd21557e0a28b6db604000df07..88b34e23db1095dba4fff8d035fb1930f1d0aa2b 100644
--- a/chrome/browser/ui/views/frame/browser_root_view.cc
+++ b/chrome/browser/ui/views/frame/browser_root_view.cc
@@ -181,7 +181,8 @@ ui::DropTargetEvent* BrowserRootView::MapEventToTabStrip(
const ui::OSExchangeData& data) {
gfx::Point tab_strip_loc(event.location());
ConvertPointToTarget(this, tabstrip(), &tab_strip_loc);
- return new ui::DropTargetEvent(data, tab_strip_loc, tab_strip_loc,
+ return new ui::DropTargetEvent(data, gfx::PointF(tab_strip_loc),
+ gfx::PointF(tab_strip_loc),
event.source_operations());
}

Powered by Google App Engine
This is Rietveld 408576698