| Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp
|
| index 47ba92051d95f98a0f8141ba147cf1ae3b17cf24..d5c52b9b5f8bb5da2f38cdf8e316358f51d2bd71 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp
|
| @@ -70,7 +70,7 @@ static void constructor2(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| V8StringResource<> usvStringArg;
|
| {
|
| usvStringArg = toUSVString(info.GetIsolate(), info[0], exceptionState);
|
| - if (exceptionState.throwIfNeeded())
|
| + if (exceptionState.hadException())
|
| return;
|
| }
|
| TestInterfaceConstructor4* impl = TestInterfaceConstructor4::create(usvStringArg);
|
| @@ -95,11 +95,9 @@ static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| break;
|
| default:
|
| exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, info.Length()));
|
| - exceptionState.throwIfNeeded();
|
| return;
|
| }
|
| exceptionState.throwTypeError("No matching constructor signature.");
|
| - exceptionState.throwIfNeeded();
|
| }
|
|
|
| } // namespace TestInterfaceConstructor4V8Internal
|
|
|