Index: Source/bindings/tests/results/V8TestInterfaceConstructor3.cpp |
diff --git a/Source/bindings/tests/results/V8TestInterfaceConstructor3.cpp b/Source/bindings/tests/results/V8TestInterfaceConstructor3.cpp |
index c1b9efff01e0b5c444c1c5e7e698e3870fb35af1..1f77fb9ba2d85d684fbebc73f62898bd7268d821 100644 |
--- a/Source/bindings/tests/results/V8TestInterfaceConstructor3.cpp |
+++ b/Source/bindings/tests/results/V8TestInterfaceConstructor3.cpp |
@@ -64,7 +64,7 @@ void V8TestInterfaceConstructor3::constructorCallback(const v8::FunctionCallback |
{ |
TRACE_EVENT_SCOPED_SAMPLING_STATE("Blink", "DOMConstructor"); |
if (!info.IsConstructCall()) { |
- throwTypeError(ExceptionMessages::failedToConstruct("TestInterfaceConstructor3", "Please use the 'new' operator, this DOM object constructor cannot be called as a function."), info.GetIsolate()); |
+ throwTypeError(ExceptionMessages::constructorNotCallableAsFunction("TestInterfaceConstructor3"), info.GetIsolate()); |
return; |
} |