| Index: Source/core/css/parser/CSSPropertyParser.h
|
| diff --git a/Source/core/css/parser/CSSPropertyParser.h b/Source/core/css/parser/CSSPropertyParser.h
|
| index 09d58231b296046b555a6546cd167bb86d586b97..d86c3bb1b56d1a6e49f62c40b83af64525ace56d 100644
|
| --- a/Source/core/css/parser/CSSPropertyParser.h
|
| +++ b/Source/core/css/parser/CSSPropertyParser.h
|
| @@ -26,6 +26,7 @@
|
| #include "core/css/CSSGradientValue.h"
|
| #include "core/css/CSSGridTemplateAreasValue.h"
|
| #include "core/css/CSSPropertySourceData.h"
|
| +#include "core/css/parser/CSSParserTokenRange.h"
|
| #include "platform/Length.h"
|
|
|
| namespace blink {
|
| @@ -71,17 +72,18 @@ public:
|
| };
|
|
|
| static bool parseValue(CSSPropertyID, bool important,
|
| - CSSParserValueList*, const CSSParserContext&,
|
| + const CSSParserTokenRange&, const CSSParserContext&,
|
| WillBeHeapVector<CSSProperty, 256>&, StyleRule::Type);
|
|
|
| static bool isSystemColor(CSSValueID);
|
| static bool isColorKeyword(CSSValueID);
|
|
|
| private:
|
| - CSSPropertyParser(CSSParserValueList*, const CSSParserContext&,
|
| + CSSPropertyParser(CSSParserValueList*, const CSSParserTokenRange&, const CSSParserContext&,
|
| WillBeHeapVector<CSSProperty, 256>&, StyleRule::Type);
|
|
|
| bool parseValue(CSSPropertyID, bool important);
|
| + PassRefPtrWillBeRawPtr<CSSValue> parseSingleValue(CSSPropertyID);
|
|
|
| bool inShorthand() const { return m_inParseShorthand; }
|
| bool inQuirksMode() const { return isQuirksModeBehavior(m_context.mode()); }
|
| @@ -364,6 +366,7 @@ private:
|
| private:
|
| // Inputs:
|
| CSSParserValueList* m_valueList;
|
| + CSSParserTokenRange m_range;
|
| const CSSParserContext& m_context;
|
|
|
| // Outputs:
|
|
|