Index: third_party/WebKit/Source/core/css/parser/CSSParser.cpp |
diff --git a/third_party/WebKit/Source/core/css/parser/CSSParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSParser.cpp |
index 9e99d3bc5ffb35722155ae164ad3d108ba3ee6da..0e1454a6b25ff1fd54d3c50da3b508d8d3aad6ab 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSParser.cpp |
+++ b/third_party/WebKit/Source/core/css/parser/CSSParser.cpp |
@@ -68,7 +68,7 @@ bool CSSParser::parseValue(MutableStylePropertySet* declaration, CSSPropertyID u |
CSSValue* value = CSSParserFastPaths::maybeParseValue(resolvedProperty, string, parserMode); |
if (value) |
return declaration->setProperty(CSSProperty(resolvedProperty, *value, important)); |
- CSSParserContext context(parserMode, 0); |
+ CSSParserContext context(parserMode, nullptr); |
if (styleSheet) { |
context = styleSheet->parserContext(); |
context.setMode(parserMode); |
@@ -82,7 +82,7 @@ bool CSSParser::parseValueForCustomProperty(MutableStylePropertySet* declaration |
if (value.isEmpty()) |
return false; |
CSSParserMode parserMode = declaration->cssParserMode(); |
- CSSParserContext context(parserMode, 0); |
+ CSSParserContext context(parserMode, nullptr); |
if (styleSheet) { |
context = styleSheet->parserContext(); |
context.setMode(parserMode); |