Index: Source/core/css/parser/CSSPropertyParser.cpp |
diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp |
index abd04e819c8fefbe89a6ecbef46d19a915204041..3b558a55459d2bcd2122207797aed14f03cb8a2e 100644 |
--- a/Source/core/css/parser/CSSPropertyParser.cpp |
+++ b/Source/core/css/parser/CSSPropertyParser.cpp |
@@ -86,7 +86,7 @@ static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> createPrimitiveValuePair(PassRe |
CSSPropertyParser::CSSPropertyParser(CSSParserValueList* valueList, |
const CSSParserContext& context, bool inViewport, |
WillBeHeapVector<CSSProperty, 256>& parsedProperties, |
- CSSRuleSourceData::Type ruleType) |
+ StyleRule::Type ruleType) |
: m_valueList(valueList) |
, m_context(context) |
, m_inViewport(inViewport) |
@@ -100,7 +100,7 @@ CSSPropertyParser::CSSPropertyParser(CSSParserValueList* valueList, |
bool CSSPropertyParser::parseValue(CSSPropertyID property, bool important, |
CSSParserValueList* valueList, const CSSParserContext& context, bool inViewport, |
- WillBeHeapVector<CSSProperty, 256>& parsedProperties, CSSRuleSourceData::Type ruleType) |
+ WillBeHeapVector<CSSProperty, 256>& parsedProperties, StyleRule::Type ruleType) |
{ |
int parsedPropertiesSize = parsedProperties.size(); |
@@ -4751,7 +4751,7 @@ bool CSSPropertyParser::parseFontVariant(bool important) |
} |
if (values && values->length()) { |
- if (m_ruleType != CSSRuleSourceData::FONT_FACE_RULE) |
+ if (m_ruleType != StyleRule::FontFace) |
return false; |
addProperty(CSSPropertyFontVariant, values.release(), important); |
return true; |