Index: Source/core/html/parser/HTMLPreloadScanner.h |
diff --git a/Source/core/html/parser/HTMLPreloadScanner.h b/Source/core/html/parser/HTMLPreloadScanner.h |
index 956d30b3d2895156f4001fe74dda31975dd0dbdd..8117458c98585c4aa48e371e5603d1393ee35c91 100644 |
--- a/Source/core/html/parser/HTMLPreloadScanner.h |
+++ b/Source/core/html/parser/HTMLPreloadScanner.h |
@@ -40,11 +40,12 @@ typedef size_t TokenPreloadScannerCheckpoint; |
class HTMLParserOptions; |
class HTMLTokenizer; |
class SegmentedString; |
+class MediaValues; |
class TokenPreloadScanner { |
WTF_MAKE_NONCOPYABLE(TokenPreloadScanner); WTF_MAKE_FAST_ALLOCATED; |
public: |
- TokenPreloadScanner(const KURL& documentURL, float deviceScaleFactor); |
+ TokenPreloadScanner(const KURL& documentURL, PassRefPtr<MediaValues>); |
~TokenPreloadScanner(); |
void scan(const HTMLToken&, const SegmentedString&, PreloadRequestStream& requests); |
@@ -89,8 +90,8 @@ private: |
const KURL m_documentURL; |
KURL m_predictedBaseElementURL; |
bool m_inStyle; |
- float m_deviceScaleFactor; |
size_t m_templateCount; |
+ RefPtr<MediaValues> m_mediaValues; |
Vector<Checkpoint> m_checkpoints; |
}; |
@@ -98,7 +99,7 @@ private: |
class HTMLPreloadScanner { |
WTF_MAKE_NONCOPYABLE(HTMLPreloadScanner); WTF_MAKE_FAST_ALLOCATED; |
public: |
- HTMLPreloadScanner(const HTMLParserOptions&, const KURL& documentURL, float deviceScaleFactor); |
+ HTMLPreloadScanner(const HTMLParserOptions&, const KURL& documentURL, PassRefPtr<MediaValues>); |
~HTMLPreloadScanner(); |
void appendToEnd(const SegmentedString&); |