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 d2161d5d4252e624c430faedfa36a4696bdc53f6..0c29206b93636e4efba17122db7e160979dd7bdd 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -3925,8 +3925,8 @@ WebPreferences WebContentsImpl::ComputeWebkitPrefs() { |
int WebContentsImpl::CreateSwappedOutRenderView( |
SiteInstance* instance) { |
- return GetRenderManager()->CreateRenderFrame( |
- instance, MSG_ROUTING_NONE, true, true, true); |
+ return GetRenderManager()->CreateRenderFrame(instance, |
+ MSG_ROUTING_NONE, SWAPPED_OUT | FOR_MAIN_FRAME_NAVIGATION | HIDDEN); |
} |
void WebContentsImpl::OnUserGesture() { |
@@ -4098,8 +4098,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()->CreateRenderFrame(instance, |
+ opener_route_id, SWAPPED_OUT | FOR_MAIN_FRAME_NAVIGATION | HIDDEN); |
} |
NavigationControllerImpl& WebContentsImpl::GetControllerForRenderManager() { |