Index: third_party/WebKit/Source/core/css/parser/CSSLazyParsingState.h |
diff --git a/third_party/WebKit/Source/core/css/parser/CSSLazyParsingState.h b/third_party/WebKit/Source/core/css/parser/CSSLazyParsingState.h |
index 80c846f6c4beb2837ba81f43402eebb2eb9ec14d..69cb15fb4bafe30119dd6d97cca923a42fcae749 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSLazyParsingState.h |
+++ b/third_party/WebKit/Source/core/css/parser/CSSLazyParsingState.h |
@@ -14,7 +14,6 @@ |
namespace blink { |
class CSSLazyPropertyParserImpl; |
-class CSSParserTokenRange; |
// This class helps lazy parsing by retaining necessary state. It should not |
// outlive the StyleSheetContents that initiated the parse, as it retains a raw |
@@ -23,19 +22,18 @@ class CSSLazyParsingState |
: public GarbageCollectedFinalized<CSSLazyParsingState> { |
public: |
CSSLazyParsingState(const CSSParserContext&, |
- Vector<String> escapedStrings, |
const String& sheetText, |
StyleSheetContents*); |
// Helper method used to bump m_totalStyleRules. |
- CSSLazyPropertyParserImpl* createLazyParser(const CSSParserTokenRange& block); |
+ CSSLazyPropertyParserImpl* createLazyParser(size_t blockOffset); |
const CSSParserContext& context(); |
+ const String& sheetText() { return m_sheetText; } |
void countRuleParsed(); |
- bool shouldLazilyParseProperties(const CSSSelectorList&, |
- const CSSParserTokenRange& block) const; |
+ bool shouldLazilyParseProperties(const CSSSelectorList&) const; |
DECLARE_TRACE(); |
@@ -58,7 +56,6 @@ class CSSLazyParsingState |
void recordUsageMetrics(); |
CSSParserContext m_context; |
- Vector<String> m_escapedStrings; |
// Also referenced on the css resource. |
String m_sheetText; |