| 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 4ff0a3a18951b3884bacf6315ffc450b21b2da24..f0377f4dfc22f5b90001bba7afd895d66305dc56 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -403,6 +403,7 @@ WebContentsImpl::WebContentsImpl(BrowserContext* browser_context)
|
| #else
|
| media_web_contents_observer_.reset(new MediaWebContentsObserver(this));
|
| #endif
|
| + loader_io_thread_notifier_.reset(new LoaderIOThreadNotifier(this));
|
| wake_lock_service_context_.reset(new WakeLockServiceContext(this));
|
| }
|
|
|
| @@ -1848,7 +1849,10 @@ void WebContentsImpl::CreateNewWindow(
|
| // delete the RenderView that had already been created.
|
| Send(new ViewMsg_Close(route_id));
|
| }
|
| - GetRenderViewHost()->GetProcess()->ResumeRequestsForView(route_id);
|
| + // It's safe to only target the frame because the render process will not
|
| + // have a chance to create more frames at this point.
|
| + ResourceDispatcherHostImpl::ResumeBlockedRequestsForRouteOnUI(
|
| + GlobalFrameRoutingId(render_process_id, main_frame_route_id));
|
| return;
|
| }
|
|
|
|
|