Index: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm |
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm |
index 0ddbeff43752da5c0639092d5ba110e8dbe8a73c..23e7eddd99beb86dfc7327e078326cb561760608 100644 |
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm |
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm |
@@ -300,7 +300,8 @@ CGFloat BookmarkRightMargin() { |
browser_ = browser; |
initialWidth_ = initialWidth; |
- bookmarkModel_ = BookmarkModelFactory::GetForProfile(browser_->profile()); |
+ bookmarkModel_ = |
+ BookmarkModelFactory::GetForBrowserContext(browser_->profile()); |
managedBookmarkService_ = |
ManagedBookmarkServiceFactory::GetForProfile(browser_->profile()); |
buttons_.reset([[NSMutableArray alloc] init]); |