| Index: Source/core/html/parser/HTMLPreloadScanner.h
|
| diff --git a/Source/core/html/parser/HTMLPreloadScanner.h b/Source/core/html/parser/HTMLPreloadScanner.h
|
| index 50acb47f509194b73b987c8d0c2d80e6cb548ae9..dd43d3bfb161be38f88e63ba70097a6ce2ca6e7f 100644
|
| --- a/Source/core/html/parser/HTMLPreloadScanner.h
|
| +++ b/Source/core/html/parser/HTMLPreloadScanner.h
|
| @@ -67,8 +67,8 @@ public:
|
| TokenPreloadScanner(const KURL& documentURL, PassOwnPtr<CachedDocumentParameters>);
|
| ~TokenPreloadScanner();
|
|
|
| - void scan(const HTMLToken&, const SegmentedString&, PreloadRequestStream& requests);
|
| - void scan(const CompactHTMLToken&, const SegmentedString&, PreloadRequestStream& requests);
|
| + void scan(const HTMLToken&, const SegmentedString&, PreloadRequestStream& requests, String* preloadedReferrerPolicy);
|
| + void scan(const CompactHTMLToken&, const SegmentedString&, PreloadRequestStream& requests, String* preloadedReferrerPolicy);
|
|
|
| void setPredictedBaseElementURL(const KURL& url) { m_predictedBaseElementURL = url; }
|
|
|
| @@ -86,8 +86,8 @@ public:
|
| private:
|
| class StartTagScanner;
|
|
|
| - template<typename Token>
|
| - inline void scanCommon(const Token&, const SegmentedString&, PreloadRequestStream& requests);
|
| + template <typename Token>
|
| + inline void scanCommon(const Token&, const SegmentedString&, PreloadRequestStream& requests, String* preloadedReferrerPolicy);
|
|
|
| template<typename Token>
|
| void updatePredictedBaseURL(const Token&);
|
|
|