Index: Source/bindings/tests/results/core/V8TestInterfaceWillBeGarbageCollected.cpp |
diff --git a/Source/bindings/tests/results/core/V8TestInterfaceWillBeGarbageCollected.cpp b/Source/bindings/tests/results/core/V8TestInterfaceWillBeGarbageCollected.cpp |
index d5f72ac9de09338555a415c5689688c266c8ea06..c56848bfe653cf470d655af7352621d9804ccffb 100644 |
--- a/Source/bindings/tests/results/core/V8TestInterfaceWillBeGarbageCollected.cpp |
+++ b/Source/bindings/tests/results/core/V8TestInterfaceWillBeGarbageCollected.cpp |
@@ -112,7 +112,7 @@ const WrapperTypeInfo V8TestInterfaceWillBeGarbageCollectedConstructor::wrapperT |
static void V8TestInterfaceWillBeGarbageCollectedConstructorCallback(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
if (!info.IsConstructCall()) { |
- V8ThrowException::throwTypeError(ExceptionMessages::constructorNotCallableAsFunction("TestInterface"), info.GetIsolate()); |
+ V8ThrowException::throwTypeError(info.GetIsolate(), ExceptionMessages::constructorNotCallableAsFunction("TestInterface")); |
return; |
} |
@@ -156,7 +156,7 @@ void V8TestInterfaceWillBeGarbageCollected::constructorCallback(const v8::Functi |
{ |
TRACE_EVENT_SCOPED_SAMPLING_STATE("blink", "DOMConstructor"); |
if (!info.IsConstructCall()) { |
- V8ThrowException::throwTypeError(ExceptionMessages::constructorNotCallableAsFunction("TestInterfaceWillBeGarbageCollected"), info.GetIsolate()); |
+ V8ThrowException::throwTypeError(info.GetIsolate(), ExceptionMessages::constructorNotCallableAsFunction("TestInterfaceWillBeGarbageCollected")); |
return; |
} |