Index: Source/bindings/tests/results/V8TestNode.cpp |
diff --git a/Source/bindings/tests/results/V8TestNode.cpp b/Source/bindings/tests/results/V8TestNode.cpp |
index b645ede349cb78344f0f3b8ddcb412260a29c7f7..65d32f3125873d6e54eba2208d632d4e3264d574 100644 |
--- a/Source/bindings/tests/results/V8TestNode.cpp |
+++ b/Source/bindings/tests/results/V8TestNode.cpp |
@@ -148,7 +148,7 @@ void V8TestNode::constructorCallback(const v8::FunctionCallbackInfo<v8::Value>& |
{ |
TRACE_EVENT_SCOPED_SAMPLING_STATE("Blink", "DOMConstructor"); |
if (!info.IsConstructCall()) { |
- throwTypeError(ExceptionMessages::failedToConstruct("TestNode", "Please use the 'new' operator, this DOM object constructor cannot be called as a function."), info.GetIsolate()); |
+ throwTypeError(ExceptionMessages::constructorNotCallableAsFunction("TestNode"), info.GetIsolate()); |
return; |
} |