Index: chrome/browser/renderer_host/resource_dispatcher_host.cc |
diff --git a/chrome/browser/renderer_host/resource_dispatcher_host.cc b/chrome/browser/renderer_host/resource_dispatcher_host.cc |
index 9555ebcaa80bb679e5d9d8cec27f4ede0d2a81c1..4e6ecab77dc8096898090b4a30af00330d6ac049 100644 |
--- a/chrome/browser/renderer_host/resource_dispatcher_host.cc |
+++ b/chrome/browser/renderer_host/resource_dispatcher_host.cc |
@@ -478,7 +478,7 @@ void ResourceDispatcherHost::BeginRequest( |
// not count as cross-site, otherwise it gets blocked indefinitely. |
if (request_data.resource_type == ResourceType::MAIN_FRAME && |
process_type == ChildProcessInfo::RENDER_PROCESS && |
- Singleton<CrossSiteRequestManager>::get()-> |
+ CrossSiteRequestManager::GetInstance()-> |
HasPendingCrossSiteRequest(child_id, route_id)) { |
// Wrap the event handler to be sure the current page's onunload handler |
// has a chance to run before we render the new page. |