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

Unified Diff: chrome/browser/ui/views/frame/browser_root_view.cc

Issue 1421713002: Explicitly convert Point to PointF for event code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wip
Patch Set: pointfconvert-prod: . Created 5 years, 2 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
« no previous file with comments | « chrome/browser/ui/views/autofill/autofill_dialog_views.cc ('k') | ui/app_list/folder_image.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8eaba179f86a695221aa7829c3ef50b382a47018..09d5c6299d0cffeb36cf1df0134bee6e6badff7c 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());
}
« no previous file with comments | « chrome/browser/ui/views/autofill/autofill_dialog_views.cc ('k') | ui/app_list/folder_image.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698