void V8Document::evaluateMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
{
- RefPtrWillBeRawPtr<Document> document = V8Document::toNative(info.Holder());
+ RefPtrWillBeRawPtr<Document> document = V8Document::toImpl(info.Holder());
ASSERT(document);
ExceptionState exceptionState(ExceptionState::ExecutionContext, "evaluate", "Document", info.Holder(), info.GetIsolate());
TOSTRING_VOID(V8StringResource<>, expression, info[0]);
- RefPtrWillBeRawPtr<Node> contextNode = V8Node::toNativeWithTypeCheck(info.GetIsolate(), info[1]);
+ RefPtrWillBeRawPtr<Node> contextNode = V8Node::toImplWithTypeCheck(info.GetIsolate(), info[1]);
const int resolverArgumentIndex = 2;
RefPtrWillBeRawPtr<XPathNSResolver> resolver = toXPathNSResolver(info[resolverArgumentIndex], info.GetIsolate());
}
int type = toInt32(info[3]);
- RefPtrWillBeRawPtr<XPathResult> inResult = V8XPathResult::toNativeWithTypeCheck(info.GetIsolate(), info[4]);
+ RefPtrWillBeRawPtr<XPathResult> inResult = V8XPathResult::toImplWithTypeCheck(info.GetIsolate(), info[4]);
TONATIVE_VOID(RefPtrWillBeRawPtr<XPathResult>, result, DocumentXPathEvaluator::evaluate(*document, expression, contextNode.get(), resolver.release(), type, inResult.get(), exceptionState));
if (exceptionState.throwIfNeeded())
return;