| Index: Source/core/xml/XPathFunctions.cpp
|
| diff --git a/Source/core/xml/XPathFunctions.cpp b/Source/core/xml/XPathFunctions.cpp
|
| index aeea79c90ee9c6910df67019c06632aeb23a91af..5a3ddf8d0cc2db755cf42e0563f4339f7a6d1670 100644
|
| --- a/Source/core/xml/XPathFunctions.cpp
|
| +++ b/Source/core/xml/XPathFunctions.cpp
|
| @@ -596,7 +596,7 @@ Value FunLang::evaluate(EvaluationContext& context) const
|
| {
|
| String lang = arg(0)->evaluate(context).toString();
|
|
|
| - const Attribute* languageAttribute = 0;
|
| + const Attribute* languageAttribute = nullptr;
|
| Node* node = context.node.get();
|
| while (node) {
|
| if (node->isElementNode()) {
|
| @@ -736,10 +736,10 @@ Function* createFunction(const String& name, HeapVector<Member<Expression>>& arg
|
| createFunctionMap();
|
|
|
| HashMap<String, FunctionRec>::iterator functionMapIter = functionMap->find(name);
|
| - FunctionRec* functionRec = 0;
|
| + FunctionRec* functionRec = nullptr;
|
|
|
| if (functionMapIter == functionMap->end() || !(functionRec = &functionMapIter->value)->args.contains(args.size()))
|
| - return 0;
|
| + return nullptr;
|
|
|
| Function* function = functionRec->factoryFn();
|
| function->setArguments(args);
|
|
|