Index: Source/core/html/parser/HTMLPreloadScanner.h |
diff --git a/Source/core/html/parser/HTMLPreloadScanner.h b/Source/core/html/parser/HTMLPreloadScanner.h |
index ba63bab36b6cf466cc68f8da779c210f15a26737..50366d18f7f01f8408ed96a4a9a373bbf4ed0cc6 100644 |
--- a/Source/core/html/parser/HTMLPreloadScanner.h |
+++ b/Source/core/html/parser/HTMLPreloadScanner.h |
@@ -44,7 +44,7 @@ class SegmentedString; |
class TokenPreloadScanner { |
WTF_MAKE_NONCOPYABLE(TokenPreloadScanner); WTF_MAKE_FAST_ALLOCATED; |
public: |
- explicit TokenPreloadScanner(const KURL& documentURL); |
+ TokenPreloadScanner(const KURL& documentURL, float deviceScaleFactor); |
~TokenPreloadScanner(); |
void scan(const HTMLToken&, const SegmentedString&, PreloadRequestStream& requests); |
@@ -89,6 +89,7 @@ private: |
const KURL m_documentURL; |
KURL m_predictedBaseElementURL; |
bool m_inStyle; |
+ float m_deviceScaleFactor; |
size_t m_templateCount; |
Vector<Checkpoint> m_checkpoints; |
@@ -97,7 +98,7 @@ private: |
class HTMLPreloadScanner { |
WTF_MAKE_NONCOPYABLE(HTMLPreloadScanner); WTF_MAKE_FAST_ALLOCATED; |
public: |
- HTMLPreloadScanner(const HTMLParserOptions&, const KURL& documentURL); |
+ HTMLPreloadScanner(const HTMLParserOptions&, const KURL& documentURL, float deviceScaleFactor); |
~HTMLPreloadScanner(); |
void appendToEnd(const SegmentedString&); |