Index: Source/core/html/HTMLImportLoader.cpp |
diff --git a/Source/core/html/HTMLImportLoader.cpp b/Source/core/html/HTMLImportLoader.cpp |
index 3f8ca2f319328300201db22fb28a9fca9d5d3a35..304d0c0ef7d068749b0b3713882b7eedbe32a602 100644 |
--- a/Source/core/html/HTMLImportLoader.cpp |
+++ b/Source/core/html/HTMLImportLoader.cpp |
@@ -113,7 +113,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 (!m_parent->document()->fetcher()->canAccess(m_resource.get())) |
+ if (!m_parent->document()->fetcher()->canAccess(m_resource.get(), PotentiallyCrossOriginEnabled)) |
return StateError; |
DocumentInit init = DocumentInit(response.url(), 0, root()->document()->contextDocument(), this) |