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 3c43a3704be42d5a27440ae0848912942db95ff2..d9f3890a0fd7c0badfe471189545a51e9b384f91 100644 |
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm |
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm |
@@ -1073,8 +1073,8 @@ void RecordAppLaunch(Profile* profile, GURL url) { |
BookmarkButtonCell* cell = [self cellForBookmarkNode:node]; |
NSRect frame = [self frameForBookmarkButtonFromCell:cell xOffset:xOffset]; |
- scoped_nsobject<BookmarkButton> |
- button([[BookmarkButton alloc] initWithFrame:frame]); |
+ base::scoped_nsobject<BookmarkButton> button( |
+ [[BookmarkButton alloc] initWithFrame:frame]); |
DCHECK(button.get()); |
// [NSButton setCell:] warns to NOT use setCell: other than in the |