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

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_view.mm

Issue 8383026: [Mac] Don't crash when dragging and dropping bookmarks within a bookmarks folder. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years, 2 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/cocoa/bookmarks/bookmark_bar_folder_view.mm
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_view.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_view.mm
index 53a2c30649db79ff443c6cba99d48df7bbd9164b..b8931f24e3cc798f6c670a94ea00efa032eebcb3 100644
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_view.mm
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_view.mm
@@ -196,7 +196,7 @@
const Profile* source_profile =
[source_window_controller profile]->GetOriginalProfile();
const Profile* target_profile =
- [controller_ bookmarkModel]->profile()->GetOriginalProfile();
+ [[self controller] bookmarkModel]->profile()->GetOriginalProfile();
BOOL copy =
!([info draggingSourceOperationMask] & NSDragOperationMove) ||

Powered by Google App Engine
This is Rietveld 408576698