Index: Source/core/html/parser/CSSPreloadScanner.h |
diff --git a/Source/core/html/parser/CSSPreloadScanner.h b/Source/core/html/parser/CSSPreloadScanner.h |
index f10004057bfc74b7b4fa8b6d333634b2a627436a..f57aeeefd23a2c921e25fedc32eb55b03922287c 100644 |
--- a/Source/core/html/parser/CSSPreloadScanner.h |
+++ b/Source/core/html/parser/CSSPreloadScanner.h |
@@ -45,6 +45,7 @@ public: |
void scan(const HTMLToken::DataVector&, const SegmentedString&, PreloadRequestStream&); |
void scan(const String&, const SegmentedString&, PreloadRequestStream&); |
+ void setIsBeforeBody(const bool isBeforeBody) { m_isBeforeBody = isBeforeBody; } |
private: |
enum State { |
@@ -69,6 +70,7 @@ private: |
State m_state; |
StringBuilder m_rule; |
StringBuilder m_ruleValue; |
+ bool m_isBeforeBody; |
// Only non-zero during scan() |
PreloadRequestStream* m_requests; |