Index: Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp |
diff --git a/Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp b/Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp |
index fa11ad9b8d61d6c799ab15d13af2df409f2bf081..0ae1685fe78ba5f122c241fe488c227d612ce129 100644 |
--- a/Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp |
+++ b/Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp |
@@ -48,7 +48,9 @@ static void constructor2(const v8::FunctionCallbackInfo<v8::Value>& info) |
ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInterfaceConstructor4", info.Holder(), info.GetIsolate()); |
V8StringResource<> usvStringArg; |
{ |
- TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(usvStringArg, toUSVString(info[0], exceptionState), exceptionState); |
+ usvStringArg = toUSVString(info[0], exceptionState); |
+ if (exceptionState.throwIfNeeded()) |
+ return; |
} |
RefPtr<TestInterfaceConstructor4> impl = TestInterfaceConstructor4::create(usvStringArg); |
v8::Local<v8::Object> wrapper = info.Holder(); |