Chromium Code Reviews| 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..ff881252533e913a9d5b9c1e48dd7b88d8d038aa 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); |
| + explicit TokenPreloadScanner(const KURL& documentURL, float deviceScaleFactor); |
|
abarth-chromium
2013/09/19 18:09:52
No need for |explicit| now that we have more than
|
| ~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&); |