Index: Source/bindings/v8/CustomElementConstructorBuilder.cpp |
diff --git a/Source/bindings/v8/CustomElementConstructorBuilder.cpp b/Source/bindings/v8/CustomElementConstructorBuilder.cpp |
index be454958d1b7ae515131b05e123c9aacdc1694bf..cea73348c74b70c4c033871f6790a49f0a0a8bd4 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 es(info.GetIsolate()); |
+ ExceptionState es(info.Holder(), info.GetIsolate()); |
CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope; |
RefPtr<Element> element = document->createElementNS(namespaceURI, tagName, maybeType->IsNull() ? nullAtom : type, es); |
if (es.throwIfNeeded()) |