Chromium Code Reviews| 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); |
|
brettw
2011/08/10 23:39:36
In other places, we've just made the views call th
jianli
2011/08/10 23:57:18
Removed.
|
| +} |