Index: Source/bindings/v8/custom/V8NodeCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8NodeCustom.cpp b/Source/bindings/v8/custom/V8NodeCustom.cpp |
index c246d839d0907e4efab9915a6301a9b600299240..839e772ce571c9449ff616f58ad58c0de376bf2e 100644 |
--- a/Source/bindings/v8/custom/V8NodeCustom.cpp |
+++ b/Source/bindings/v8/custom/V8NodeCustom.cpp |
@@ -66,7 +66,7 @@ void V8Node::insertBeforeMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& |
CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
- ExceptionState es(info.GetIsolate()); |
+ ExceptionState es(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; |
imp->insertBefore(newChild, refChild, es); |
@@ -82,7 +82,7 @@ void V8Node::replaceChildMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& |
CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
- ExceptionState es(info.GetIsolate()); |
+ ExceptionState es(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; |
imp->replaceChild(newChild, oldChild, es); |
@@ -98,7 +98,7 @@ void V8Node::removeChildMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& |
CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
- ExceptionState es(info.GetIsolate()); |
+ ExceptionState es(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; |
imp->removeChild(oldChild, es); |
if (es.throwIfNeeded()) |
@@ -113,7 +113,7 @@ void V8Node::appendChildMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& |
CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
- ExceptionState es(info.GetIsolate()); |
+ ExceptionState es(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; |
imp->appendChild(newChild, es); |
if (es.throwIfNeeded()) |