Index: Source/core/html/parser/HTMLDocumentParser.cpp |
diff --git a/Source/core/html/parser/HTMLDocumentParser.cpp b/Source/core/html/parser/HTMLDocumentParser.cpp |
index c5ab6100712a85cba7d4131d417b9aaf1ed6fc53..09b497a3e6a044ebfc6e1714e3ee3c0aeb0ad061 100644 |
--- a/Source/core/html/parser/HTMLDocumentParser.cpp |
+++ b/Source/core/html/parser/HTMLDocumentParser.cpp |
@@ -352,6 +352,9 @@ void HTMLDocumentParser::didReceiveParsedChunkFromBackgroundParser(PassOwnPtr<Pa |
if (!isParsing()) |
return; |
+ if (!chunk->preloadedReferrerPolicy.isEmpty()) |
+ document()->processReferrerPolicy(chunk->preloadedReferrerPolicy); |
+ |
// ApplicationCache needs to be initialized before issuing preloads. |
// We suspend preload until HTMLHTMLElement is inserted and |
// ApplicationCache is initialized. |