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

Unified Diff: Source/core/loader/DocumentThreadableLoader.cpp

Issue 24009002: Move synchronously fetching to ResourceFetcher, as well as most of the logic (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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: Source/core/loader/DocumentThreadableLoader.cpp
diff --git a/Source/core/loader/DocumentThreadableLoader.cpp b/Source/core/loader/DocumentThreadableLoader.cpp
index 5c16cec384020ec031867b68165c9a7fe66583d9..77af89e0b6dfe9d6bb929e12c96cdb081b9e9f21 100644
--- a/Source/core/loader/DocumentThreadableLoader.cpp
+++ b/Source/core/loader/DocumentThreadableLoader.cpp
@@ -450,7 +450,7 @@ void DocumentThreadableLoader::loadRequest(const ResourceRequest& request, Secur
m_client->didFail(error);
return;
}
- identifier = frame->loader()->loadResourceSynchronously(request, m_options.allowCredentials, error, response, data);
+ identifier = m_document->fetcher()->fetchSynchronously(request, m_options.allowCredentials, error, response, data);
}
InspectorInstrumentation::documentThreadableLoaderStartedLoadingForClient(m_document, identifier, m_client);

Powered by Google App Engine
This is Rietveld 408576698