| Index: Source/bindings/core/v8/V8ObjectConstructor.cpp
|
| diff --git a/Source/bindings/core/v8/V8ObjectConstructor.cpp b/Source/bindings/core/v8/V8ObjectConstructor.cpp
|
| index f6c01e0355f0d7635129aa57764b3249a0f4199f..d03639b65aee8ee2f71981a0531cabd39da81b6d 100644
|
| --- a/Source/bindings/core/v8/V8ObjectConstructor.cpp
|
| +++ b/Source/bindings/core/v8/V8ObjectConstructor.cpp
|
| @@ -59,7 +59,7 @@ v8::Local<v8::Object> V8ObjectConstructor::newInstanceInDocument(v8::Isolate* is
|
| void V8ObjectConstructor::isValidConstructorMode(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
| if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::CreateNewObject) {
|
| - V8ThrowException::throwTypeError("Illegal constructor", info.GetIsolate());
|
| + V8ThrowException::throwTypeError(info.GetIsolate(), "Illegal constructor");
|
| return;
|
| }
|
| v8SetReturnValue(info, info.This());
|
|
|