| Index: Source/bindings/core/v8/custom/V8DocumentCustom.cpp
|
| diff --git a/Source/bindings/core/v8/custom/V8DocumentCustom.cpp b/Source/bindings/core/v8/custom/V8DocumentCustom.cpp
|
| index b9aced5f448ee3ab4b681acd3340eb0c5a2a5a30..82f47066f6fcf466c7fce43dd7f240606f898b3d 100644
|
| --- a/Source/bindings/core/v8/custom/V8DocumentCustom.cpp
|
| +++ b/Source/bindings/core/v8/custom/V8DocumentCustom.cpp
|
| @@ -67,7 +67,7 @@ void V8Document::evaluateMethodCustom(const v8::FunctionCallbackInfo<v8::Value>&
|
| RefPtrWillBeRawPtr<Node> contextNode = V8Node::toImplWithTypeCheck(info.GetIsolate(), info[1]);
|
|
|
| const int resolverArgumentIndex = 2;
|
| - RefPtrWillBeRawPtr<XPathNSResolver> resolver = toXPathNSResolver(info[resolverArgumentIndex], info.GetIsolate());
|
| + RefPtrWillBeRawPtr<XPathNSResolver> resolver = toXPathNSResolver(info.GetIsolate(), info[resolverArgumentIndex]);
|
| if (!resolver && !isUndefinedOrNull(info[resolverArgumentIndex])) {
|
| exceptionState.throwTypeError(ExceptionMessages::argumentNullOrIncorrectType(resolverArgumentIndex + 1, "XPathNSResolver"));
|
| exceptionState.throwIfNeeded();
|
|
|