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

Unified Diff: views/controls/menu/menu_controller.cc

Issue 6507028: Remove usages of RootView from View by moving relevant RootView API methods t... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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/tabs/dragged_tab_controller.cc ('k') | views/view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/menu/menu_controller.cc
===================================================================
--- views/controls/menu/menu_controller.cc (revision 75181)
+++ views/controls/menu/menu_controller.cc (working copy)
@@ -463,8 +463,7 @@
StopScrolling();
int drag_ops = item->GetDelegate()->GetDragOperations(item);
drag_in_progress_ = true;
- item->GetRootView()->StartDragForViewFromMouseEvent(
- NULL, data, drag_ops);
+ item->GetWidget()->StartDragForViewFromMouseEvent(NULL, data, drag_ops);
drag_in_progress_ = false;
if (GetActiveInstance() == this) {
« no previous file with comments | « chrome/browser/ui/views/tabs/dragged_tab_controller.cc ('k') | views/view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698