| Index: Source/core/css/CSSParserValues.h
|
| diff --git a/Source/core/css/CSSParserValues.h b/Source/core/css/CSSParserValues.h
|
| index 0aafa37c1bb65a0b27ce6fe0737e42508a1ae197..6655f5ad8bc42f1668a19c0c3577d1fdd97842fe 100644
|
| --- a/Source/core/css/CSSParserValues.h
|
| +++ b/Source/core/css/CSSParserValues.h
|
| @@ -141,16 +141,19 @@ struct CSSParserValue {
|
| int iValue;
|
| CSSParserString string;
|
| CSSParserFunction* function;
|
| + CSSParserValueList* valueList;
|
| };
|
| enum {
|
| - Operator = 0x100000,
|
| - Function = 0x100001,
|
| - Q_EMS = 0x100002
|
| + Operator = 0x100000,
|
| + Function = 0x100001,
|
| + ValueList = 0x100002,
|
| + Q_EMS = 0x100003,
|
| };
|
| int unit;
|
|
|
| inline void setFromNumber(double value, int unit = CSSPrimitiveValue::CSS_NUMBER);
|
| inline void setFromFunction(CSSParserFunction*);
|
| + inline void setFromValueList(PassOwnPtr<CSSParserValueList>);
|
|
|
| PassRefPtr<CSSValue> createCSSValue();
|
| };
|
| @@ -265,6 +268,13 @@ inline void CSSParserValue::setFromFunction(CSSParserFunction* function)
|
| unit = Function;
|
| }
|
|
|
| +inline void CSSParserValue::setFromValueList(PassOwnPtr<CSSParserValueList> valueList)
|
| +{
|
| + id = CSSValueInvalid;
|
| + this->valueList = valueList.leakPtr();
|
| + unit = ValueList;
|
| +}
|
| +
|
| }
|
|
|
| #endif
|
|
|