Index: Source/core/html/HTMLImportsController.cpp |
diff --git a/Source/core/html/HTMLImportsController.cpp b/Source/core/html/HTMLImportsController.cpp |
index 2b4cbbceb208c3fea6b83bf8a82937adfe6f4006..a2aae849e891a1f82717be310d7ae5e0639da493 100644 |
--- a/Source/core/html/HTMLImportsController.cpp |
+++ b/Source/core/html/HTMLImportsController.cpp |
@@ -73,7 +73,7 @@ PassRefPtr<HTMLImportLoader> HTMLImportsController::createLoader(HTMLImport* par |
if (RefPtr<HTMLImportLoader> found = findLinkFor(request.url())) |
return found.release(); |
- request.setPotentiallyCrossOriginEnabled(securityOrigin(), DoNotAllowStoredCredentials); |
+ request.setCrossOriginAccessControl(securityOrigin(), DoNotAllowStoredCredentials); |
ResourcePtr<RawResource> resource = parent->document()->fetcher()->fetchImport(request); |
if (!resource) |
return 0; |