| Index: chrome/browser/ui/cocoa/browser_window_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/browser_window_controller.mm b/chrome/browser/ui/cocoa/browser_window_controller.mm
|
| index 3c12b1ca3310922539920a89431369126990d677..57efa23c3a539b33a5b809834e36bddee98065c2 100644
|
| --- a/chrome/browser/ui/cocoa/browser_window_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/browser_window_controller.mm
|
| @@ -331,8 +331,10 @@ bool IsTabDetachingInFullscreenEnabled() {
|
| initWithBrowser:browser_.get()
|
| initialWidth:NSWidth([[[self window] contentView] frame])
|
| delegate:self]);
|
| - // This call triggers an -awakeFromNib for ToolbarView.xib.
|
| - [[bookmarkBarController_ controlledView] setResizeDelegate:self];
|
| + // This call loads the view.
|
| + BookmarkBarToolbarView* bookmarkBarView =
|
| + [bookmarkBarController_ controlledView];
|
| + [bookmarkBarView setResizeDelegate:self];
|
|
|
| [bookmarkBarController_ setBookmarkBarEnabled:[self supportsBookmarkBar]];
|
|
|
|
|