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 88f58a782fd7544ae316343b06dc0b6dd50546c2..e9f8605666ff332b44940f4745667e35867c4c67 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -413,6 +413,7 @@ WebContentsImpl::WebContentsImpl(BrowserContext* browser_context) |
frame_tree_.SetFrameRemoveListener( |
base::Bind(&WebContentsImpl::OnFrameRemoved, |
base::Unretained(this))); |
+ loader_io_thread_notifier_.reset(new LoaderIOThreadNotifierImpl(this)); |
media_web_contents_observer_.reset(new MediaWebContentsObserver(this)); |
wake_lock_service_context_.reset(new WakeLockServiceContext(this)); |
} |
@@ -1817,7 +1818,9 @@ void WebContentsImpl::CreateNewWindow( |
// delete the RenderView that had already been created. |
Send(new ViewMsg_Close(route_id)); |
} |
- GetRenderViewHost()->GetProcess()->ResumeRequestsForView(route_id); |
+ LoaderIOThreadNotifierImpl::ResumeBlockedRequestsForFrameInternal( |
Randy Smith (Not in Mondays)
2016/01/06 21:56:30
I presume that it's safe to just target the frame
Randy Smith (Not in Mondays)
2016/01/06 21:56:30
Help me understand the context in which this code
Charlie Harrison
2016/01/07 22:47:06
It's rather confusing :/ but I believe what is hap
Charlie Harrison
2016/01/07 22:47:06
Done.
|
+ GlobalFrameRoutingId(GetRenderViewHost()->GetProcess()->GetID(), |
nasko
2016/01/07 00:43:09
Why are you getting the process id from the Render
Charlie Harrison
2016/01/07 22:47:06
Good catch. Actually, I think we should be grabbin
|
+ main_frame_route_id)); |
return; |
} |