| Index: Source/core/html/parser/BackgroundHTMLParser.cpp
|
| diff --git a/Source/core/html/parser/BackgroundHTMLParser.cpp b/Source/core/html/parser/BackgroundHTMLParser.cpp
|
| index fc06a4cffd0011d8795204cfc41633d952a0605b..992ac27e5506d96214788cdd4f303d088336d379 100644
|
| --- a/Source/core/html/parser/BackgroundHTMLParser.cpp
|
| +++ b/Source/core/html/parser/BackgroundHTMLParser.cpp
|
| @@ -239,7 +239,7 @@ void BackgroundHTMLParser::pumpTokenizer()
|
|
|
| CompactHTMLToken token(m_token.get(), TextPosition(m_input.current().currentLine(), m_input.current().currentColumn()));
|
|
|
| - m_preloadScanner->scan(token, m_input.current(), m_pendingPreloads);
|
| + m_preloadScanner->scan(token, m_input.current(), m_pendingPreloads, &m_preloadedReferrerPolicy);
|
| simulatedToken = m_treeBuilderSimulator.simulate(token, m_tokenizer.get());
|
|
|
| // Break chunks before a script tag is inserted and flag the chunk as starting a script
|
| @@ -283,6 +283,7 @@ void BackgroundHTMLParser::sendTokensToMainThread()
|
| chunk->preloadScannerCheckpoint = m_preloadScanner->createCheckpoint();
|
| chunk->tokens = m_pendingTokens.release();
|
| chunk->startingScript = m_startingScript;
|
| + chunk->preloadedReferrerPolicy = m_preloadedReferrerPolicy;
|
| m_startingScript = false;
|
|
|
| m_scheduler->postLoadingTask(
|
|
|