| Index: third_party/WebKit/Source/core/css/parser/CSSParserImpl.h
|
| diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserImpl.h b/third_party/WebKit/Source/core/css/parser/CSSParserImpl.h
|
| index 13d99b03f8a4ae5796bd928193bed069250137ea..fca5ec2a94cf27f419101aa9cb619e6bbbee3650 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSParserImpl.h
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSParserImpl.h
|
| @@ -17,6 +17,7 @@
|
|
|
| namespace blink {
|
|
|
| +class CSSLazyParsingState;
|
| class CSSParserObserver;
|
| class CSSParserObserverWrapper;
|
| class StyleRule;
|
| @@ -80,7 +81,8 @@ class CSSParserImpl {
|
| AllowedRulesType);
|
| static void parseStyleSheet(const String&,
|
| const CSSParserContext&,
|
| - StyleSheetContents*);
|
| + StyleSheetContents*,
|
| + bool deferPropertyParsing = false);
|
| static CSSSelectorList parsePageSelector(CSSParserTokenRange,
|
| StyleSheetContents*);
|
|
|
| @@ -98,6 +100,10 @@ class CSSParserImpl {
|
| StyleSheetContents*,
|
| CSSParserObserver&);
|
|
|
| + static StylePropertySet* parseDeclarationListForLazyStyle(
|
| + CSSParserTokenRange block,
|
| + const CSSParserContext&);
|
| +
|
| private:
|
| enum RuleListType { TopLevelRuleList, RegularRuleList, KeyframesRuleList };
|
|
|
| @@ -156,6 +162,8 @@ class CSSParserImpl {
|
|
|
| // For the inspector
|
| CSSParserObserverWrapper* m_observerWrapper;
|
| +
|
| + Member<CSSLazyParsingState> m_lazyState;
|
| };
|
|
|
| } // namespace blink
|
|
|