Index: Source/core/html/HTMLImportLoader.cpp |
diff --git a/Source/core/html/HTMLImportLoader.cpp b/Source/core/html/HTMLImportLoader.cpp |
index 8cbee034681963bf3745b52c32e152ccfbeccf72..cfb103eebda0cf1caffd846b4fb6e54cd50428d1 100644 |
--- a/Source/core/html/HTMLImportLoader.cpp |
+++ b/Source/core/html/HTMLImportLoader.cpp |
@@ -111,7 +111,7 @@ void HTMLImportLoader::didFinish() |
HTMLImportLoader::State HTMLImportLoader::startWritingAndParsing(const ResourceResponse& response) |
{ |
// Current canAccess() implementation isn't sufficient for catching cross-domain redirects: http://crbug.com/256976 |
- if (!parent()->document()->fetcher()->canAccess(m_resource.get())) |
+ if (!parent()->document()->fetcher()->canAccess(m_resource.get(), PotentiallyCORSEnabled)) |
return StateError; |
DocumentInit init = DocumentInit(response.url(), 0, root()->document()->contextDocument(), this) |