| Index: third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLElementCustom.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLElementCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLElementCustom.cpp
|
| index 8a315ac28147b5eda6aa7dbba804fa25d43d6af4..a06dcd8630a53baf3a4a7863e40835d89235eccb 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLElementCustom.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLElementCustom.cpp
|
| @@ -59,7 +59,7 @@ void V8HTMLElement::constructorCustom(
|
| definition->descriptor().localName(),
|
| AtomicString(),
|
| exceptionState);
|
| - if (exceptionState.throwIfNeeded())
|
| + if (exceptionState.hadException())
|
| return;
|
| } else {
|
| element = definition->constructionStack().last();
|
| @@ -73,7 +73,6 @@ void V8HTMLElement::constructorCustom(
|
| exceptionState.throwDOMException(
|
| InvalidStateError,
|
| "this instance is already constructed");
|
| - exceptionState.throwIfNeeded();
|
| return;
|
| }
|
| }
|
|
|