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

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

Issue 1542743002: [RDHI] Refactored blocked_loaders_map_ to key by render frame route id (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: just comments / minor restructuring (trybots previous) Created 5 years 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 956831386b133641428afd818ee075f0ba86cb72..97cc6000f4891c86d982c1127e20bc6129d94091 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -409,6 +409,7 @@ WebContentsImpl::WebContentsImpl(BrowserContext* browser_context)
frame_tree_.SetFrameRemoveListener(
base::Bind(&WebContentsImpl::OnFrameRemoved,
base::Unretained(this)));
+ loader_io_thread_notifier_.reset(new LoaderIOThreadNotifer(this));
Randy Smith (Not in Mondays) 2015/12/29 23:11:37 I'm confused; naively, it looks like you're never
Charlie Harrison 2015/12/30 20:51:49 The only way this gets used is as a WebContentsObs
Randy Smith (Not in Mondays) 2016/01/04 21:24:48 Right, whoops, sorry I missed that. I'm good with
media_web_contents_observer_.reset(new MediaWebContentsObserver(this));
wake_lock_service_context_.reset(new WakeLockServiceContext(this));
}
@@ -1812,7 +1813,8 @@ void WebContentsImpl::CreateNewWindow(
// delete the RenderView that had already been created.
Send(new ViewMsg_Close(route_id));
}
- GetRenderViewHost()->GetProcess()->ResumeRequestsForView(route_id);
+ GetRenderViewHost()->GetProcess()->ResumeRequestsForFrame(
+ main_frame_route_id);
return;
}

Powered by Google App Engine
This is Rietveld 408576698