Index: Source/bindings/v8/CustomElementConstructorBuilder.cpp |
diff --git a/Source/bindings/v8/CustomElementConstructorBuilder.cpp b/Source/bindings/v8/CustomElementConstructorBuilder.cpp |
index 3a06692f0ae8981eef3f1355d2609a15020777de..95384441a5f7ba7f9be59b57399faffd0c9b89a1 100644 |
--- a/Source/bindings/v8/CustomElementConstructorBuilder.cpp |
+++ b/Source/bindings/v8/CustomElementConstructorBuilder.cpp |
@@ -272,7 +272,7 @@ static void constructCustomElement(const v8::FunctionCallbackInfo<v8::Value>& in |
v8::Handle<v8::Value> maybeType = info.Callee()->GetHiddenValue(V8HiddenPropertyName::customElementType(isolate)); |
V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, type, maybeType); |
- ExceptionState exceptionState(info.GetIsolate()); |
+ ExceptionState exceptionState(info.Holder(), info.GetIsolate()); |
CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
RefPtr<Element> element = document->createElementNS(namespaceURI, tagName, maybeType->IsNull() ? nullAtom : type, exceptionState); |
if (exceptionState.throwIfNeeded()) |