| 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 a448d34f40cd211f2fab9a50c6ec6e29a71334d1..a47178119d74d375b06b7c3480c963ae0d74d631 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -3960,8 +3960,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() {
|
| @@ -4133,8 +4133,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() {
|
|
|