Index: chrome/browser/tab_contents/tab_contents_view_mac.mm |
=================================================================== |
--- chrome/browser/tab_contents/tab_contents_view_mac.mm (revision 62138) |
+++ chrome/browser/tab_contents/tab_contents_view_mac.mm (working copy) |
@@ -80,6 +80,7 @@ |
void TabContentsViewMac::CreateView(const gfx::Size& initial_size) { |
TabContentsViewCocoa* view = |
[[TabContentsViewCocoa alloc] initWithTabContentsViewMac:this]; |
+ [view setAutoresizingMask:(NSViewWidthSizable | NSViewHeightSizable)]; |
cocoa_view_.reset(view); |
} |