| 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 976c921f867aff24bb7be9226c1786d600a718d1..7256237298828fe94e05f26a6f5d56ba822c74d6 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -3916,8 +3916,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() {
|
| @@ -4088,8 +4088,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() {
|
|
|