Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1137)

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 1567903002: [Test - Do Not Commit] Stop blocking requests for new windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge onto #371523 Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() {
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | content/public/browser/render_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698