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..f26be440fa9a133edc53b3d99b9fc90905f1269c 100644 |
--- a/Source/core/html/parser/HTMLPreloadScanner.h |
+++ b/Source/core/html/parser/HTMLPreloadScanner.h |
@@ -33,6 +33,7 @@ |
#include "platform/text/SegmentedString.h" |
#include "wtf/Vector.h" |
+ |
abarth-chromium
2014/03/24 19:43:31
This change looks spurious.
|
namespace WebCore { |
typedef size_t TokenPreloadScannerCheckpoint; |
@@ -40,11 +41,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, float deviceScaleFactor, PassRefPtr<MediaValues>); |
~TokenPreloadScanner(); |
void scan(const HTMLToken&, const SegmentedString&, PreloadRequestStream& requests); |
@@ -91,6 +93,7 @@ private: |
bool m_inStyle; |
float m_deviceScaleFactor; |
size_t m_templateCount; |
+ RefPtr<MediaValues> m_mediaValues; |
Vector<Checkpoint> m_checkpoints; |
}; |
@@ -98,7 +101,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, float deviceScaleFactor, PassRefPtr<MediaValues>); |
~HTMLPreloadScanner(); |
void appendToEnd(const SegmentedString&); |