Index: third_party/WebKit/Source/core/html/LinkStyle.cpp |
diff --git a/third_party/WebKit/Source/core/html/LinkStyle.cpp b/third_party/WebKit/Source/core/html/LinkStyle.cpp |
index 9fbb194b137faccd6d67dfcf9857acbafe83f0e0..48390b57534c6d76dce10dcf04ae5e343f0378fd 100644 |
--- a/third_party/WebKit/Source/core/html/LinkStyle.cpp |
+++ b/third_party/WebKit/Source/core/html/LinkStyle.cpp |
@@ -55,6 +55,7 @@ enum StyleSheetCacheStatus { |
void LinkStyle::setCSSStyleSheet( |
const String& href, |
const KURL& baseURL, |
+ ReferrerPolicy referrerPolicy, |
const String& charset, |
const CSSStyleSheetResource* cachedStyleSheet) { |
if (!m_owner->isConnected()) { |
@@ -110,8 +111,7 @@ void LinkStyle::setCSSStyleSheet( |
} |
CSSParserContext* parserContext = CSSParserContext::create( |
- m_owner->document(), baseURL, m_owner->document().getReferrerPolicy(), |
- charset); |
+ m_owner->document(), baseURL, referrerPolicy, charset); |
DEFINE_STATIC_LOCAL(EnumerationHistogram, restoredCachedStyleSheetHistogram, |
("Blink.RestoredCachedStyleSheet", 2)); |