| Index: Source/bindings/v8/custom/V8DocumentCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8DocumentCustom.cpp b/Source/bindings/v8/custom/V8DocumentCustom.cpp
|
| index 45a593263beccb6d12761170a9459b0f920e9cb5..8993ac17209f1de183f1f4c84a6acc845c04350e 100644
|
| --- a/Source/bindings/v8/custom/V8DocumentCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8DocumentCustom.cpp
|
| @@ -71,7 +71,7 @@ void V8Document::evaluateMethodCustom(const v8::FunctionCallbackInfo<v8::Value>&
|
|
|
| RefPtr<XPathNSResolver> resolver = toXPathNSResolver(args[2], args.GetIsolate());
|
| if (!resolver && !args[2]->IsNull() && !args[2]->IsUndefined()) {
|
| - setDOMException(TYPE_MISMATCH_ERR, args.GetIsolate());
|
| + setDOMException(TypeMismatchError, args.GetIsolate());
|
| return;
|
| }
|
|
|
|
|