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 03a37c10b41bc3364d6966a97648b70fdcdecc3d..3409dbc4302a0e71331d61caa0ceab3654754df6 100644 |
--- a/third_party/WebKit/Source/core/html/parser/HTMLPreloadScannerTest.cpp |
+++ b/third_party/WebKit/Source/core/html/parser/HTMLPreloadScannerTest.cpp |
@@ -65,7 +65,7 @@ public: |
void preloadRequestVerification(Resource::Type type, const char* url, const char* baseURL, int width, ReferrerPolicy referrerPolicy) |
{ |
preloadRequestVerification(type, url, baseURL, width, ClientHintsPreferences()); |
- EXPECT_EQ(referrerPolicy, m_preloadRequest->referrerPolicy()); |
+ EXPECT_EQ(referrerPolicy, m_preloadRequest->getReferrerPolicy()); |
} |
void preconnectRequestVerification(const String& host, CrossOriginAttributeValue crossOrigin) |