| Index: Source/bindings/v8/V8ObjectConstructor.cpp
|
| diff --git a/Source/bindings/v8/V8ObjectConstructor.cpp b/Source/bindings/v8/V8ObjectConstructor.cpp
|
| index 38a3024daedc1fc619134e69b9950158f4a7dcf7..6ebfbab7b714751da3ee24d3e6f04e76605487d6 100644
|
| --- a/Source/bindings/v8/V8ObjectConstructor.cpp
|
| +++ b/Source/bindings/v8/V8ObjectConstructor.cpp
|
| @@ -65,13 +65,13 @@ v8::Local<v8::Object> V8ObjectConstructor::newInstanceInDocument(v8::Handle<v8::
|
| return V8ScriptRunner::instantiateObjectInDocument(function, document, argc, argv);
|
| }
|
|
|
| -void V8ObjectConstructor::isValidConstructorMode(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| +void V8ObjectConstructor::isValidConstructorMode(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
| if (ConstructorMode::current() == ConstructorMode::CreateNewObject) {
|
| - throwTypeError("Illegal constructor", args.GetIsolate());
|
| + throwTypeError("Illegal constructor", info.GetIsolate());
|
| return;
|
| }
|
| - v8SetReturnValue(args, args.This());
|
| + v8SetReturnValue(info, info.This());
|
| }
|
|
|
| } // namespace WebCore
|
|
|