| Index: content/browser/tab_contents/tab_contents.cc
|
| ===================================================================
|
| --- content/browser/tab_contents/tab_contents.cc (revision 83213)
|
| +++ content/browser/tab_contents/tab_contents.cc (working copy)
|
| @@ -2273,12 +2273,12 @@
|
| RenderViewHost* render_view_host) {
|
| RenderWidgetHostView* rwh_view = view_->CreateViewForWidget(render_view_host);
|
|
|
| + // Now that the RenderView has been created, we need to tell it its size.
|
| + rwh_view->SetSize(view_->GetContainerSize());
|
| +
|
| if (!render_view_host->CreateRenderView(string16()))
|
| return false;
|
|
|
| - // Now that the RenderView has been created, we need to tell it its size.
|
| - rwh_view->SetSize(view_->GetContainerSize());
|
| -
|
| UpdateMaxPageIDIfNecessary(render_view_host->site_instance(),
|
| render_view_host);
|
| return true;
|
|
|