Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(200)

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSParser.cpp

Issue 2101143005: 0 -> nullptr for UseCounter pointer in CSSParserContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Typo Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSStyleSheet.cpp ('k') | third_party/WebKit/Source/core/css/parser/CSSParserMode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698