| Index: Source/bindings/v8/custom/V8NodeCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8NodeCustom.cpp b/Source/bindings/v8/custom/V8NodeCustom.cpp
|
| index 38357e9dab9df2f3b10d7c526ae7a92d366bc9d9..47eb97b4051f4620ece7e4a5f832575a66ca1b27 100644
|
| --- a/Source/bindings/v8/custom/V8NodeCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8NodeCustom.cpp
|
| @@ -67,8 +67,8 @@ void V8Node::insertBeforeMethodCustom(const v8::FunctionCallbackInfo<v8::Value>&
|
| CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope;
|
|
|
| ExceptionState exceptionState(ExceptionState::ExecutionContext, "insertBefore", "Node", info.Holder(), info.GetIsolate());
|
| - Node* newChild = V8Node::hasInstance(info[0], info.GetIsolate(), worldType(info.GetIsolate())) ? V8Node::toNative(v8::Handle<v8::Object>::Cast(info[0])) : 0;
|
| - Node* refChild = V8Node::hasInstance(info[1], info.GetIsolate(), worldType(info.GetIsolate())) ? V8Node::toNative(v8::Handle<v8::Object>::Cast(info[1])) : 0;
|
| + Node* newChild = V8Node::hasInstance(info[0], info.GetIsolate()) ? V8Node::toNative(v8::Handle<v8::Object>::Cast(info[0])) : 0;
|
| + Node* refChild = V8Node::hasInstance(info[1], info.GetIsolate()) ? V8Node::toNative(v8::Handle<v8::Object>::Cast(info[1])) : 0;
|
| imp->insertBefore(newChild, refChild, exceptionState);
|
| if (exceptionState.throwIfNeeded())
|
| return;
|
| @@ -83,8 +83,8 @@ void V8Node::replaceChildMethodCustom(const v8::FunctionCallbackInfo<v8::Value>&
|
| CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope;
|
|
|
| ExceptionState exceptionState(ExceptionState::ExecutionContext, "replaceChild", "Node", info.Holder(), info.GetIsolate());
|
| - Node* newChild = V8Node::hasInstance(info[0], info.GetIsolate(), worldType(info.GetIsolate())) ? V8Node::toNative(v8::Handle<v8::Object>::Cast(info[0])) : 0;
|
| - Node* oldChild = V8Node::hasInstance(info[1], info.GetIsolate(), worldType(info.GetIsolate())) ? V8Node::toNative(v8::Handle<v8::Object>::Cast(info[1])) : 0;
|
| + Node* newChild = V8Node::hasInstance(info[0], info.GetIsolate()) ? V8Node::toNative(v8::Handle<v8::Object>::Cast(info[0])) : 0;
|
| + Node* oldChild = V8Node::hasInstance(info[1], info.GetIsolate()) ? V8Node::toNative(v8::Handle<v8::Object>::Cast(info[1])) : 0;
|
| imp->replaceChild(newChild, oldChild, exceptionState);
|
| if (exceptionState.throwIfNeeded())
|
| return;
|
| @@ -99,7 +99,7 @@ void V8Node::removeChildMethodCustom(const v8::FunctionCallbackInfo<v8::Value>&
|
| CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope;
|
|
|
| ExceptionState exceptionState(ExceptionState::ExecutionContext, "removeChild", "Node", info.Holder(), info.GetIsolate());
|
| - Node* oldChild = V8Node::hasInstance(info[0], info.GetIsolate(), worldType(info.GetIsolate())) ? V8Node::toNative(v8::Handle<v8::Object>::Cast(info[0])) : 0;
|
| + Node* oldChild = V8Node::hasInstance(info[0], info.GetIsolate()) ? V8Node::toNative(v8::Handle<v8::Object>::Cast(info[0])) : 0;
|
| imp->removeChild(oldChild, exceptionState);
|
| if (exceptionState.throwIfNeeded())
|
| return;
|
| @@ -114,7 +114,7 @@ void V8Node::appendChildMethodCustom(const v8::FunctionCallbackInfo<v8::Value>&
|
| CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope;
|
|
|
| ExceptionState exceptionState(ExceptionState::ExecutionContext, "appendChild", "Node", info.Holder(), info.GetIsolate());
|
| - Node* newChild = V8Node::hasInstance(info[0], info.GetIsolate(), worldType(info.GetIsolate())) ? V8Node::toNative(v8::Handle<v8::Object>::Cast(info[0])) : 0;
|
| + Node* newChild = V8Node::hasInstance(info[0], info.GetIsolate()) ? V8Node::toNative(v8::Handle<v8::Object>::Cast(info[0])) : 0;
|
| imp->appendChild(newChild, exceptionState);
|
| if (exceptionState.throwIfNeeded())
|
| return;
|
|
|