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 2612caf128a20ba5c78dab342b5d4ee3c009a40f..2b89324a8e12ecac17e663837b8700f086f78f82 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -1843,7 +1843,6 @@ void WebContentsImpl::CreateNewWindow( |
// delete the RenderView that had already been created. |
Send(new ViewMsg_Close(route_id)); |
} |
- GetRenderViewHost()->GetProcess()->ResumeRequestsForView(route_id); |
return; |
} |
@@ -2897,14 +2896,6 @@ void WebContentsImpl::ResumeLoadingCreatedWebContents() { |
delayed_open_url_params_.reset(nullptr); |
return; |
} |
- |
- // Resume blocked requests for both the RenderViewHost and RenderFrameHost. |
- // TODO(brettw): It seems bogus to reach into here and initialize the host. |
- if (is_resume_pending_) { |
- is_resume_pending_ = false; |
- GetRenderViewHost()->GetWidget()->Init(); |
- GetMainFrame()->Init(); |
- } |
} |
bool WebContentsImpl::FocusLocationBarByDefault() { |