Index: chrome/browser/tab_contents/tab_contents_view_mac.mm |
=================================================================== |
--- chrome/browser/tab_contents/tab_contents_view_mac.mm (revision 97010) |
+++ chrome/browser/tab_contents/tab_contents_view_mac.mm (working copy) |
@@ -235,6 +235,8 @@ |
void TabContentsViewMac::UpdatePreferredSize(const gfx::Size& pref_size) { |
preferred_width_ = pref_size.width(); |
+ if (tab_contents_->delegate()) |
+ tab_contents_->delegate()->UpdatePreferredSize(tab_contents_, pref_size); |
} |
bool TabContentsViewMac::IsDoingDrag() const { |