| Index: third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp b/third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp
|
| index 7c76bf15786982aa349a8f6977d526a33e35c956..b20276bc7eb9d07bb82c8f1c47831f4795250f26 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp
|
| @@ -41,7 +41,7 @@ CSSParserImpl::CSSParserImpl(const CSSParserContext& context, StyleSheetContents
|
| bool CSSParserImpl::parseValue(MutableStylePropertySet* declaration, CSSPropertyID unresolvedProperty, const String& string, bool important, const CSSParserContext& context)
|
| {
|
| CSSParserImpl parser(context);
|
| - StyleRule::Type ruleType = StyleRule::Style;
|
| + StyleRule::RuleType ruleType = StyleRule::Style;
|
| if (declaration->cssParserMode() == CSSViewportRuleMode)
|
| ruleType = StyleRule::Viewport;
|
| CSSTokenizer::Scope scope(string);
|
| @@ -114,7 +114,7 @@ PassRefPtrWillBeRawPtr<ImmutableStylePropertySet> CSSParserImpl::parseInlineStyl
|
| bool CSSParserImpl::parseDeclarationList(MutableStylePropertySet* declaration, const String& string, const CSSParserContext& context)
|
| {
|
| CSSParserImpl parser(context);
|
| - StyleRule::Type ruleType = StyleRule::Style;
|
| + StyleRule::RuleType ruleType = StyleRule::Style;
|
| if (declaration->cssParserMode() == CSSViewportRuleMode)
|
| ruleType = StyleRule::Viewport;
|
| CSSTokenizer::Scope scope(string);
|
| @@ -652,7 +652,7 @@ PassRefPtrWillBeRawPtr<StyleRule> CSSParserImpl::consumeStyleRule(CSSParserToken
|
| return StyleRule::create(std::move(selectorList), createStylePropertySet(m_parsedProperties, m_context.mode()));
|
| }
|
|
|
| -void CSSParserImpl::consumeDeclarationList(CSSParserTokenRange range, StyleRule::Type ruleType)
|
| +void CSSParserImpl::consumeDeclarationList(CSSParserTokenRange range, StyleRule::RuleType ruleType)
|
| {
|
| ASSERT(m_parsedProperties.isEmpty());
|
|
|
| @@ -702,7 +702,7 @@ void CSSParserImpl::consumeDeclarationList(CSSParserTokenRange range, StyleRule:
|
| }
|
| }
|
|
|
| -void CSSParserImpl::consumeDeclaration(CSSParserTokenRange range, StyleRule::Type ruleType)
|
| +void CSSParserImpl::consumeDeclaration(CSSParserTokenRange range, StyleRule::RuleType ruleType)
|
| {
|
| CSSParserTokenRange rangeCopy = range; // For inspector callbacks
|
|
|
| @@ -755,7 +755,7 @@ void CSSParserImpl::consumeVariableValue(CSSParserTokenRange range, const Atomic
|
| m_parsedProperties.append(CSSProperty(CSSPropertyVariable, value.release(), important));
|
| }
|
|
|
| -void CSSParserImpl::consumeDeclarationValue(CSSParserTokenRange range, CSSPropertyID unresolvedProperty, bool important, StyleRule::Type ruleType)
|
| +void CSSParserImpl::consumeDeclarationValue(CSSParserTokenRange range, CSSPropertyID unresolvedProperty, bool important, StyleRule::RuleType ruleType)
|
| {
|
| CSSPropertyParser::parseValue(unresolvedProperty, important, range, m_context, m_parsedProperties, ruleType);
|
| }
|
|
|