Index: Source/bindings/tests/results/V8TestInterfaceEventTarget.cpp |
diff --git a/Source/bindings/tests/results/V8TestInterfaceEventTarget.cpp b/Source/bindings/tests/results/V8TestInterfaceEventTarget.cpp |
index 8392ab44c57dbea7917f5511145a672e73e86b3c..7d16fa4c0757c58f8203078f2f908f2bf3131af7 100644 |
--- a/Source/bindings/tests/results/V8TestInterfaceEventTarget.cpp |
+++ b/Source/bindings/tests/results/V8TestInterfaceEventTarget.cpp |
@@ -50,7 +50,7 @@ const WrapperTypeInfo V8TestInterfaceEventTargetConstructor::wrapperTypeInfo = { |
static void V8TestInterfaceEventTargetConstructorCallback(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
if (!info.IsConstructCall()) { |
- throwTypeError(ExceptionMessages::failedToConstruct("Name", "Please use the 'new' operator, this DOM object constructor cannot be called as a function."), info.GetIsolate()); |
+ throwTypeError(ExceptionMessages::constructorNotCallableAsFunction("Name"), info.GetIsolate()); |
return; |
} |