Index: third_party/WebKit/Source/core/html/parser/HTMLPreloadScannerTest.cpp |
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLPreloadScannerTest.cpp b/third_party/WebKit/Source/core/html/parser/HTMLPreloadScannerTest.cpp |
index 6c16b922531efdb547cd7ad32c89b3d4470d37b7..2d6b94bf8ce0d541b84ea62ad20ae1e1361e4c9f 100644 |
--- a/third_party/WebKit/Source/core/html/parser/HTMLPreloadScannerTest.cpp |
+++ b/third_party/WebKit/Source/core/html/parser/HTMLPreloadScannerTest.cpp |
@@ -73,8 +73,7 @@ public: |
if (!host.isNull()) { |
EXPECT_TRUE(m_preloadRequest->isPreconnect()); |
EXPECT_STREQ(m_preloadRequest->resourceURL().ascii().data(), host.ascii().data()); |
- EXPECT_EQ(m_preloadRequest->isCORS(), crossOrigin != CrossOriginAttributeNotSet); |
- EXPECT_EQ(m_preloadRequest->isAllowCredentials(), crossOrigin == CrossOriginAttributeUseCredentials); |
+ EXPECT_EQ(m_preloadRequest->crossOrigin(), crossOrigin); |
} |
} |