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

Unified Diff: Source/core/xml/XSLTProcessorLibxslt.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/xml/XSLTProcessorLibxslt.cpp
diff --git a/Source/core/xml/XSLTProcessorLibxslt.cpp b/Source/core/xml/XSLTProcessorLibxslt.cpp
index 6f86926eae71ba6c2feb10e368db5f772780ad8a..4ab991faba6d153492431070627731917c9db947 100644
--- a/Source/core/xml/XSLTProcessorLibxslt.cpp
+++ b/Source/core/xml/XSLTProcessorLibxslt.cpp
@@ -104,7 +104,7 @@ static xmlDocPtr docLoaderFunc(const xmlChar* uri,
bool requestAllowed = globalResourceFetcher->frame() && globalResourceFetcher->document()->securityOrigin()->canRequest(url);
if (requestAllowed) {
- globalResourceFetcher->frame()->loader()->loadResourceSynchronously(url, AllowStoredCredentials, error, response, data);
+ globalResourceFetcher->fetchSynchronously(url, AllowStoredCredentials, error, response, data);
requestAllowed = globalResourceFetcher->document()->securityOrigin()->canRequest(response.url());
}
if (!requestAllowed) {

Powered by Google App Engine
This is Rietveld 408576698