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

Unified Diff: Source/core/xml/XPathFunctions.cpp

Issue 1161323007: Use nullptr instead of 0 in xml and xmlhttprequest. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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: Source/core/xml/XPathFunctions.cpp
diff --git a/Source/core/xml/XPathFunctions.cpp b/Source/core/xml/XPathFunctions.cpp
index aeea79c90ee9c6910df67019c06632aeb23a91af..7fbf88436f848344fcc5c189a1e7c7378f3c83df 100644
--- a/Source/core/xml/XPathFunctions.cpp
+++ b/Source/core/xml/XPathFunctions.cpp
@@ -739,7 +739,7 @@ Function* createFunction(const String& name, HeapVector<Member<Expression>>& arg
FunctionRec* functionRec = 0;
sof 2015/06/08 07:09:06 Change this to use nullptr also.
if (functionMapIter == functionMap->end() || !(functionRec = &functionMapIter->value)->args.contains(args.size()))
- return 0;
+ return nullptr;
Function* function = functionRec->factoryFn();
function->setArguments(args);

Powered by Google App Engine
This is Rietveld 408576698