Index: Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp |
diff --git a/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp b/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp |
index cd00093126bcf60fef9ae86e2ca0e08802dfba4c..4662254e3e307696f9ea19a0516e4371726714e4 100644 |
--- a/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp |
+++ b/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp |
@@ -214,7 +214,7 @@ const WrapperTypeInfo V8TestInterfaceConstructorConstructor::wrapperTypeInfo = { |
static void V8TestInterfaceConstructorConstructorCallback(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
if (!info.IsConstructCall()) { |
- V8ThrowException::throwTypeError(ExceptionMessages::constructorNotCallableAsFunction("Audio"), info.GetIsolate()); |
+ V8ThrowException::throwTypeError(info.GetIsolate(), ExceptionMessages::constructorNotCallableAsFunction("Audio")); |
return; |
} |
@@ -282,7 +282,7 @@ void V8TestInterfaceConstructor::constructorCallback(const v8::FunctionCallbackI |
TRACE_EVENT_SCOPED_SAMPLING_STATE("blink", "DOMConstructor"); |
UseCounter::countIfNotPrivateScript(info.GetIsolate(), callingExecutionContext(info.GetIsolate()), UseCounter::TestFeature); |
if (!info.IsConstructCall()) { |
- V8ThrowException::throwTypeError(ExceptionMessages::constructorNotCallableAsFunction("TestInterfaceConstructor"), info.GetIsolate()); |
+ V8ThrowException::throwTypeError(info.GetIsolate(), ExceptionMessages::constructorNotCallableAsFunction("TestInterfaceConstructor")); |
return; |
} |