Index: third_party/WebKit/Source/bindings/core/v8/V0CustomElementConstructorBuilder.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V0CustomElementConstructorBuilder.cpp b/third_party/WebKit/Source/bindings/core/v8/V0CustomElementConstructorBuilder.cpp |
index eb67fcb18bca58e5006653264f28a4a2a322ad84..1ebbac1680fb91be681f1f480f3c831ecf5a8bf7 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V0CustomElementConstructorBuilder.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/V0CustomElementConstructorBuilder.cpp |
@@ -283,8 +283,6 @@ static void constructCustomElement(const v8::FunctionCallbackInfo<v8::Value>& in |
ExceptionState exceptionState(ExceptionState::ConstructionContext, "CustomElement", info.Holder(), info.GetIsolate()); |
V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
Element* element = document->createElementNS(namespaceURI, tagName, maybeType->IsNull() ? nullAtom : type, exceptionState); |
- if (exceptionState.throwIfNeeded()) |
- return; |
v8SetReturnValueFast(info, element, document); |
} |