| Index: third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp b/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp
|
| index ca14e73d6ff6351f850871baf8c092b7c03b0086..e9b5fec5278ee3f3a8d04d9a0e4140a58e0ef929 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp
|
| +++ b/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp
|
| @@ -1978,7 +1978,7 @@ bool CSSPropertyParser::isValidNumericValue(double value)
|
| && value <= std::numeric_limits<float>::max();
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<CSSPrimitiveValue> CSSPropertyParser::parseColor(const CSSParserValue* value, bool acceptQuirkyColors)
|
| +PassRefPtrWillBeRawPtr<CSSValue> CSSPropertyParser::parseColor(const CSSParserValue* value, bool acceptQuirkyColors)
|
| {
|
| CSSValueID id = value->id;
|
| if (isColorKeyword(id)) {
|
| @@ -4396,7 +4396,7 @@ PassRefPtrWillBeRawPtr<CSSValueList> CSSPropertyParser::parseShadow(CSSParserVal
|
| PassRefPtrWillBeRawPtr<CSSShadowValue> CSSPropertyParser::parseSingleShadow(CSSParserValueList* valueList, bool allowInset, bool allowSpread)
|
| {
|
| RefPtrWillBeRawPtr<CSSPrimitiveValue> style = nullptr;
|
| - RefPtrWillBeRawPtr<CSSPrimitiveValue> color = nullptr;
|
| + RefPtrWillBeRawPtr<CSSValue> color = nullptr;
|
| WillBeHeapVector<RefPtrWillBeMember<CSSPrimitiveValue>, 4> lengths;
|
|
|
| CSSParserValue* val = valueList->current();
|
| @@ -4440,7 +4440,7 @@ PassRefPtrWillBeRawPtr<CSSShadowValue> CSSPropertyParser::parseSingleShadow(CSSP
|
| }
|
|
|
| if (val) {
|
| - if (RefPtrWillBeRawPtr<CSSPrimitiveValue> colorValue = parseColor(val)) {
|
| + if (RefPtrWillBeRawPtr<CSSValue> colorValue = parseColor(val)) {
|
| if (color)
|
| return nullptr;
|
| color = colorValue;
|
| @@ -5132,7 +5132,7 @@ static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseDeprecatedGradientPoint(CS
|
| }
|
|
|
| // Used to parse colors for -webkit-gradient(...).
|
| -PassRefPtrWillBeRawPtr<CSSPrimitiveValue> CSSPropertyParser::parseDeprecatedGradientStopColor(const CSSParserValue* value)
|
| +PassRefPtrWillBeRawPtr<CSSValue> CSSPropertyParser::parseDeprecatedGradientStopColor(const CSSParserValue* value)
|
| {
|
| // Disallow currentcolor.
|
| if (value->id == CSSValueCurrentcolor)
|
|
|