diff options
Diffstat (limited to 'Source/bindings/v8/custom/V8DocumentCustom.cpp')
-rw-r--r-- | Source/bindings/v8/custom/V8DocumentCustom.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/bindings/v8/custom/V8DocumentCustom.cpp b/Source/bindings/v8/custom/V8DocumentCustom.cpp index 4f4df1aae..425d59029 100644 --- a/Source/bindings/v8/custom/V8DocumentCustom.cpp +++ b/Source/bindings/v8/custom/V8DocumentCustom.cpp @@ -63,7 +63,7 @@ void V8Document::evaluateMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& RefPtr<Document> document = V8Document::toNative(info.Holder()); ASSERT(document); ExceptionState exceptionState(ExceptionState::ExecutionContext, "evaluate", "Document", info.Holder(), info.GetIsolate()); - V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, expression, info[0]); + TOSTRING_VOID(V8StringResource<>, expression, info[0]); RefPtr<Node> contextNode = V8Node::toNativeWithTypeCheck(info.GetIsolate(), info[1]); const int resolverArgumentIndex = 2; @@ -76,7 +76,7 @@ void V8Document::evaluateMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& int type = toInt32(info[3]); RefPtrWillBeRawPtr<XPathResult> inResult = V8XPathResult::toNativeWithTypeCheck(info.GetIsolate(), info[4]); - V8TRYCATCH_VOID(RefPtrWillBeRawPtr<XPathResult>, result, DocumentXPathEvaluator::evaluate(*document, expression, contextNode.get(), resolver.release(), type, inResult.get(), exceptionState)); + TONATIVE_VOID(RefPtrWillBeRawPtr<XPathResult>, result, DocumentXPathEvaluator::evaluate(*document, expression, contextNode.get(), resolver.release(), type, inResult.get(), exceptionState)); if (exceptionState.throwIfNeeded()) return; |