Index: chrome/browser/cocoa/tab_contents_controller.mm |
=================================================================== |
--- chrome/browser/cocoa/tab_contents_controller.mm (revision 19942) |
+++ chrome/browser/cocoa/tab_contents_controller.mm (working copy) |
@@ -26,7 +26,9 @@ |
[super dealloc]; |
} |
-- (void)awakeFromNib { |
+// Call when the tab view is properly sized and the render widget host view |
+// should be put into the view hierarchy. |
+- (void)ensureContentsVisible { |
[contentsBox_ setContentView:contents_->GetNativeView()]; |
} |