Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index a86d316644ea25d8745dc10dfef98626ee641106..1f622250d7ded3aff9df66e733c40c586cf309a3 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -1531,7 +1531,7 @@ void WebContentsImpl::CreateNewWindow( |
// TODO(brettw): It seems bogus that we have to call this function on the |
// newly created object and give it one of its own member variables. |
- new_view->CreateViewForWidget(new_contents->GetRenderViewHost()); |
+ new_view->CreateViewForWidget(new_contents->GetRenderViewHost(), false); |
} |
// Save the created window associated with the route so we can show it |
// later. |
@@ -1604,7 +1604,7 @@ void WebContentsImpl::CreateNewWidget(int render_process_id, |
RenderWidgetHostViewBase* widget_view = |
static_cast<RenderWidgetHostViewBase*>( |
- view_->CreateViewForPopupWidget(widget_host)); |
+ view_->CreateViewForPopupWidget(widget_host, false)); |
if (!widget_view) |
return; |
if (!is_fullscreen) { |
@@ -4092,7 +4092,7 @@ bool WebContentsImpl::CreateRenderViewForRenderManager( |
new RenderWidgetHostViewChildFrame(render_view_host); |
rwh_view = rwh_view_child; |
} else { |
- rwh_view = view_->CreateViewForWidget(render_view_host); |
+ rwh_view = view_->CreateViewForWidget(render_view_host, false); |
} |
// Now that the RenderView has been created, we need to tell it its size. |