| 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..4bea1af8e2610838b3bad1d12581663439c6c39d 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V0CustomElementConstructorBuilder.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V0CustomElementConstructorBuilder.cpp
|
| @@ -283,7 +283,7 @@ 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())
|
| + if (exceptionState.hadException())
|
| return;
|
| v8SetReturnValueFast(info, element, document);
|
| }
|
|
|