Index: content/browser/tab_contents/tab_contents.cc |
=================================================================== |
--- content/browser/tab_contents/tab_contents.cc (revision 94932) |
+++ content/browser/tab_contents/tab_contents.cc (working copy) |
@@ -1900,3 +1900,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); |
+} |