Index: Source/bindings/tests/results/V8TestInterfaceGarbageCollected.cpp |
diff --git a/Source/bindings/tests/results/V8TestInterfaceGarbageCollected.cpp b/Source/bindings/tests/results/V8TestInterfaceGarbageCollected.cpp |
index 2da9b98aea5b903d74d7fc0d1cf14ef2ac0638bb..7f0ca334ad57333647cc194d3a5bc0ae97643cb2 100644 |
--- a/Source/bindings/tests/results/V8TestInterfaceGarbageCollected.cpp |
+++ b/Source/bindings/tests/results/V8TestInterfaceGarbageCollected.cpp |
@@ -76,7 +76,7 @@ static void attr1AttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Va |
static void funcMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
if (UNLIKELY(info.Length() < 1)) { |
- throwMinimumArityTypeErrorForMethod("func", "TestInterfaceGarbageCollected", 1, info.Length(), info.GetIsolate()); |
+ V8ThrowException::throwException(createMinimumArityTypeErrorForMethod("func", "TestInterfaceGarbageCollected", 1, info.Length(), info.GetIsolate()), info.GetIsolate()); |
return; |
} |
TestInterfaceGarbageCollected* impl = V8TestInterfaceGarbageCollected::toNative(info.Holder()); |
@@ -99,7 +99,7 @@ static void funcMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) |
static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
if (UNLIKELY(info.Length() < 1)) { |
- throwMinimumArityTypeErrorForConstructor("TestInterfaceGarbageCollected", 1, info.Length(), info.GetIsolate()); |
+ V8ThrowException::throwException(createMinimumArityTypeErrorForConstructor("TestInterfaceGarbageCollected", 1, info.Length(), info.GetIsolate()), info.GetIsolate()); |
return; |
} |
V8StringResource<> str; |