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

Unified Diff: chrome/browser/ui/views/tabs/tab_drag_controller.h

Issue 1003863005: Fix tab drag and drop with hi-dpi. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tab drag and drop with hi-dpi. Created 5 years, 9 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/tabs/tab_drag_controller.h
diff --git a/chrome/browser/ui/views/tabs/tab_drag_controller.h b/chrome/browser/ui/views/tabs/tab_drag_controller.h
index bb2412a30bb0001921f24211dc54de2eac67d9f2..14df5777aa5713e5e109b32eb549cc299c27516f 100644
--- a/chrome/browser/ui/views/tabs/tab_drag_controller.h
+++ b/chrome/browser/ui/views/tabs/tab_drag_controller.h
@@ -444,7 +444,7 @@ class TabDragController : public content::NotificationObserver,
// Returns the NativeWindow at the specified point. If |exclude_dragged_view|
// is true, then the dragged view is not considered.
- gfx::NativeWindow GetLocalProcessWindow(const gfx::Point& screen_point,
+ gfx::NativeWindow GetLocalProcessWindow(gfx::Point screen_point,
sadrul 2015/03/20 17:40:24 Why this change?
stapelberg 2015/03/20 21:48:06 It saved a conditional branch by overwriting the s
bool exclude_dragged_view);
// Handles registering for notifications.

Powered by Google App Engine
This is Rietveld 408576698