Index: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
index a523a5bf1b38966dfd8bf021dd8f31d7143ae477..9747909d190c672e8e721bb393c7087fed298746 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
@@ -1500,7 +1500,7 @@ static CSSValue* consumeTextDecorationLine(CSSParserTokenRange& range) |
CSSPrimitiveValue* ident = consumeIdent<CSSValueBlink, CSSValueUnderline, CSSValueOverline, CSSValueLineThrough>(range); |
if (!ident) |
break; |
- if (list->hasValue(ident)) |
+ if (list->hasValue(*ident)) |
return nullptr; |
list->append(ident); |
} |
@@ -1526,7 +1526,7 @@ static CSSValue* consumeContain(CSSParserTokenRange& range) |
CSSPrimitiveValue* ident = consumeIdent<CSSValuePaint, CSSValueLayout, CSSValueStyle, CSSValueSize>(range); |
if (!ident) |
break; |
- if (list->hasValue(ident)) |
+ if (list->hasValue(*ident)) |
return nullptr; |
list->append(ident); |
} |