Index: content/browser/tab_contents/tab_contents.cc |
=================================================================== |
--- content/browser/tab_contents/tab_contents.cc (revision 98900) |
+++ content/browser/tab_contents/tab_contents.cc (working copy) |
@@ -510,6 +510,11 @@ |
delegate_->ToggleFullscreenModeForTab(this, enter_fullscreen); |
} |
+void TabContents::UpdatePreferredSize(const gfx::Size& pref_size) { |
+ if (delegate_) |
+ delegate_->UpdatePreferredSize(this, pref_size); |
+} |
+ |
void TabContents::ShowContents() { |
RenderWidgetHostView* rwhv = GetRenderWidgetHostView(); |
if (rwhv) |