| Index: chrome/browser/cocoa/browser_window_controller.mm
|
| ===================================================================
|
| --- chrome/browser/cocoa/browser_window_controller.mm (revision 41033)
|
| +++ chrome/browser/cocoa/browser_window_controller.mm (working copy)
|
| @@ -255,10 +255,6 @@
|
| hasLocationBar:[self hasLocationBar]];
|
| [[[self window] contentView] addSubview:[toolbarController_ view]];
|
|
|
| - // This must be done after the view is added to the window since it relies
|
| - // on the window bounds to determine whether to show buttons or not.
|
| - [toolbarController_ createBrowserActionButtons];
|
| -
|
| // Create a sub-controller for the bookmark bar.
|
| bookmarkBarController_.reset(
|
| [[BookmarkBarController alloc]
|
| @@ -302,6 +298,10 @@
|
| name:NSApplicationDidUnhideNotification
|
| object:nil];
|
|
|
| + // This must be done after the view is added to the window since it relies
|
| + // on the window bounds to determine whether to show buttons or not.
|
| + [toolbarController_ createBrowserActionButtons];
|
| +
|
| // We are done initializing now.
|
| initializing_ = NO;
|
| }
|
|
|