Chromium Code Reviews| 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); |