| Index: chrome/browser/cocoa/tab_contents_controller.mm
|
| ===================================================================
|
| --- chrome/browser/cocoa/tab_contents_controller.mm (revision 9654)
|
| +++ chrome/browser/cocoa/tab_contents_controller.mm (working copy)
|
| @@ -75,7 +75,7 @@
|
| if (commands_)
|
| observer_ = new TabContentsCommandObserver(self, commands);
|
| locationBarBridge_ = new LocationBarBridge(self);
|
| - [contentsBox_ setContentView:contents->GetNativeView()];
|
| + contents_ = contents;
|
| }
|
| return self;
|
| }
|
| @@ -89,6 +89,8 @@
|
| }
|
|
|
| - (void)awakeFromNib {
|
| + [contentsBox_ setContentView:contents_->GetNativeView()];
|
| +
|
| // Provide a starting point since we won't get notifications if the state
|
| // doesn't change between tabs.
|
| [self updateToolbarCommandStatus];
|
|
|