Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2950)

Unified Diff: chrome/browser/cocoa/tab_contents_controller.mm

Issue 20302: IB outlets only get filled in during awakening, not initialization. D'oh! (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/cocoa/tab_contents_controller.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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];
« no previous file with comments | « chrome/browser/cocoa/tab_contents_controller.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698