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

Unified Diff: chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc

Issue 2750253002: Reland 4e4eae4cbe6136b538a: Make download item drags look like bookmark (Closed)
Patch Set: with fix Created 3 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/bookmarks/bookmark_bar_view.cc
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
index 92dffc0d811ac1af762668d18907c19bf7232e23..e9402b001c47af1dcf902ad06bb572edab41dfeb 100644
--- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
@@ -1411,7 +1411,7 @@ void BookmarkBarView::WriteDragDataForView(View* sender,
}
button_drag_utils::SetDragImage(node->url(), node->GetTitle(), icon,
- &press_pt, data, widget);
+ &press_pt, *widget, data);
WriteBookmarkDragData(node, data);
return;
}

Powered by Google App Engine
This is Rietveld 408576698