Index: content/browser/tab_contents/tab_contents.cc |
=================================================================== |
--- content/browser/tab_contents/tab_contents.cc (revision 95921) |
+++ content/browser/tab_contents/tab_contents.cc (working copy) |
@@ -1919,3 +1919,8 @@ |
RenderWidgetHostView* rwh_view = view()->CreateViewForWidget(rvh); |
rwh_view->SetSize(view()->GetContainerSize()); |
} |
+ |
+void TabContents::UpdatePreferredSize(const gfx::Size& pref_size) { |
+ if (delegate_) |
+ delegate_->UpdatePreferredSize(pref_size); |
+} |