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

Unified Diff: Source/core/html/HTMLImportChild.cpp

Issue 137983010: (Re)organize handling of CORS access control during resource loading. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: HTMLImportLoader no longer needs a ResourceFetcher Created 6 years, 11 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
« no previous file with comments | « Source/core/fetch/ResourceLoaderOptions.h ('k') | Source/core/html/HTMLImportLoader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLImportChild.cpp
diff --git a/Source/core/html/HTMLImportChild.cpp b/Source/core/html/HTMLImportChild.cpp
index 912a635c6507245b8bd4c8b01a03ebacacf50220..c752a523ae3564a88be7a7e188590ad90749c78e 100644
--- a/Source/core/html/HTMLImportChild.cpp
+++ b/Source/core/html/HTMLImportChild.cpp
@@ -177,7 +177,7 @@ void HTMLImportChild::createLoader()
{
ASSERT(!isStateBlockedFromCreatingDocument());
ASSERT(!m_loader);
- m_loader = HTMLImportLoader::create(this, parent()->document()->fetcher());
+ m_loader = HTMLImportLoader::create(this);
m_loader->addClient(this);
m_loader->startLoading(resource());
}
« no previous file with comments | « Source/core/fetch/ResourceLoaderOptions.h ('k') | Source/core/html/HTMLImportLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698