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 5ec31a02c05612ac3f3807e8b0e0ed9d560352f4..45094d11e12285573df083b67b2294319c8b0990 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -3906,8 +3906,8 @@ WebPreferences WebContentsImpl::ComputeWebkitPrefs() { |
int WebContentsImpl::CreateSwappedOutRenderView( |
SiteInstance* instance) { |
- return GetRenderManager()->CreateRenderFrame( |
- instance, MSG_ROUTING_NONE, true, true, true); |
+ return GetRenderManager()->CreateSwappedOutHiddenRenderFrame( |
nasko
2014/11/19 01:00:24
Please rebase on top of crrev.com/304494.
carlosk
2014/11/19 17:24:29
Already done locally.
carlosk
2014/11/21 14:36:34
Done.
|
+ instance, MSG_ROUTING_NONE, true); |
} |
void WebContentsImpl::OnUserGesture() { |
@@ -4079,8 +4079,8 @@ int WebContentsImpl::CreateOpenerRenderViews(SiteInstance* instance) { |
// Create a swapped out RenderView in the given SiteInstance if none exists, |
// setting its opener to the given route_id. Return the new view's route_id. |
- return GetRenderManager()->CreateRenderFrame( |
- instance, opener_route_id, true, true, true); |
+ return GetRenderManager()->CreateSwappedOutHiddenRenderFrame( |
+ instance, opener_route_id, true); |
} |
NavigationControllerImpl& WebContentsImpl::GetControllerForRenderManager() { |