| Index: sky/engine/core/css/parser/BisonCSSParser.h
|
| diff --git a/sky/engine/core/css/parser/BisonCSSParser.h b/sky/engine/core/css/parser/BisonCSSParser.h
|
| index 5c0d130d6513645aebc5acdddb1a8e9fa6c673b3..acc1cad4fc9e90ecfdc2ad49a6e8d803d8abc45d 100644
|
| --- a/sky/engine/core/css/parser/BisonCSSParser.h
|
| +++ b/sky/engine/core/css/parser/BisonCSSParser.h
|
| @@ -213,38 +213,9 @@ public:
|
|
|
| void tokenToLowerCase(CSSParserString& token);
|
|
|
| - void markViewportRuleBodyStart() { m_inViewport = true; }
|
| - void markViewportRuleBodyEnd() { m_inViewport = false; }
|
| - StyleRuleBase* createViewportRule();
|
| -
|
| CSSParserLocation currentLocation() { return m_tokenizer.currentLocation(); }
|
|
|
| private:
|
| - class StyleDeclarationScope {
|
| - STACK_ALLOCATED();
|
| - WTF_MAKE_NONCOPYABLE(StyleDeclarationScope);
|
| - public:
|
| - StyleDeclarationScope(BisonCSSParser* parser, const StylePropertySet* declaration)
|
| - : m_parser(parser)
|
| - , m_mode(declaration->cssParserMode())
|
| - {
|
| - if (isCSSViewportParsingEnabledForMode(m_mode)) {
|
| - ASSERT(!m_parser->inViewport());
|
| - m_parser->markViewportRuleBodyStart();
|
| - }
|
| - }
|
| -
|
| - ~StyleDeclarationScope()
|
| - {
|
| - if (isCSSViewportParsingEnabledForMode(m_mode))
|
| - m_parser->markViewportRuleBodyEnd();
|
| - }
|
| -
|
| - private:
|
| - BisonCSSParser* m_parser;
|
| - CSSParserMode m_mode;
|
| - };
|
| -
|
| inline void ensureLineEndings();
|
|
|
| void setStyleSheet(StyleSheetContents* styleSheet) { m_styleSheet = styleSheet; }
|
|
|