Index: ui/views/widget/native_widget_win.cc |
=================================================================== |
--- ui/views/widget/native_widget_win.cc (revision 171535) |
+++ ui/views/widget/native_widget_win.cc (working copy) |
@@ -673,10 +673,11 @@ |
CHECK_EQ(this, GetNativeWidgetForNativeView(GetNativeView())); |
props_.push_back(ui::SetWindowSupportsRerouteMouseWheel(GetNativeView())); |
+ internal::RootView* root_view = |
+ static_cast<internal::RootView*>(GetWidget()->GetRootView()); |
+ drop_target_ = new DropTargetWin(root_view, |
+ root_view->GetWidget()->GetNativeView()); |
- drop_target_ = new DropTargetWin( |
- static_cast<internal::RootView*>(GetWidget()->GetRootView())); |
- |
// Windows special DWM window frame requires a special tooltip manager so |
// that window controls in Chrome windows don't flicker when you move your |
// mouse over them. See comment in aero_tooltip_manager.h. |