Index: Source/bindings/tests/results/core/V8TestTypedefs.cpp |
diff --git a/Source/bindings/tests/results/core/V8TestTypedefs.cpp b/Source/bindings/tests/results/core/V8TestTypedefs.cpp |
index 573a81f831a5e4e8a6ae230d5d931414038b9854..59889d824f0d9cac12a9380a7960cf997170b56b 100644 |
--- a/Source/bindings/tests/results/core/V8TestTypedefs.cpp |
+++ b/Source/bindings/tests/results/core/V8TestTypedefs.cpp |
@@ -142,7 +142,7 @@ static void voidMethodTestCallbackInterfaceTypeArgMethod(const v8::FunctionCallb |
TestCallbackInterface* testCallbackInterfaceTypeArg; |
{ |
if (info.Length() <= 0 || !info[0]->IsFunction()) { |
- V8ThrowException::throwTypeError(ExceptionMessages::failedToExecute("voidMethodTestCallbackInterfaceTypeArg", "TestTypedefs", "The callback provided as parameter 1 is not a function."), info.GetIsolate()); |
+ V8ThrowException::throwTypeError(info.GetIsolate(), ExceptionMessages::failedToExecute("voidMethodTestCallbackInterfaceTypeArg", "TestTypedefs", "The callback provided as parameter 1 is not a function.")); |
return; |
} |
testCallbackInterfaceTypeArg = V8TestCallbackInterface::create(v8::Handle<v8::Function>::Cast(info[0]), ScriptState::current(info.GetIsolate())); |
@@ -294,7 +294,7 @@ void V8TestTypedefs::constructorCallback(const v8::FunctionCallbackInfo<v8::Valu |
{ |
TRACE_EVENT_SCOPED_SAMPLING_STATE("blink", "DOMConstructor"); |
if (!info.IsConstructCall()) { |
- V8ThrowException::throwTypeError(ExceptionMessages::constructorNotCallableAsFunction("TestTypedefs"), info.GetIsolate()); |
+ V8ThrowException::throwTypeError(info.GetIsolate(), ExceptionMessages::constructorNotCallableAsFunction("TestTypedefs")); |
return; |
} |