diff options
Diffstat (limited to 'chrome/browser/bookmarks')
-rw-r--r-- | chrome/browser/bookmarks/bookmark_utils.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/bookmarks/bookmark_utils.cc b/chrome/browser/bookmarks/bookmark_utils.cc index 8206cfd..439dec7 100644 --- a/chrome/browser/bookmarks/bookmark_utils.cc +++ b/chrome/browser/bookmarks/bookmark_utils.cc @@ -340,10 +340,9 @@ void DragBookmarks(Profile* profile, bool was_nested = MessageLoop::current()->IsNested(); MessageLoop::current()->SetNestableTasksAllowed(true); - views::NativeWidget* native_widget = - views::NativeWidget::GetNativeWidgetForNativeView(view); - if (native_widget) { - native_widget->GetWidget()->RunShellDrag(NULL, data, + views::Widget* widget = views::Widget::GetWidgetForNativeView(view); + if (widget) { + widget->RunShellDrag(NULL, data, ui::DragDropTypes::DRAG_COPY | ui::DragDropTypes::DRAG_MOVE | ui::DragDropTypes::DRAG_LINK); } |