| Index: third_party/WebKit/Source/bindings/core/v8/custom/V8DocumentCustom.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8DocumentCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8DocumentCustom.cpp
|
| index 66cf4f73263c8d271a2071ac553c4014add1d2f4..a47fc57d1738331bac73e229e4b1cee312aa0237 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/custom/V8DocumentCustom.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8DocumentCustom.cpp
|
| @@ -83,14 +83,15 @@ void V8Document::openMethodCustom(
|
| }
|
| // Wrap up the arguments and call the function.
|
| std::unique_ptr<v8::Local<v8::Value>[]> params =
|
| - wrapArrayUnique(new v8::Local<v8::Value>[ info.Length() ]);
|
| + wrapArrayUnique(new v8::Local<v8::Value>[info.Length()]);
|
| for (int i = 0; i < info.Length(); i++)
|
| params[i] = info[i];
|
|
|
| v8SetReturnValue(
|
| - info, V8ScriptRunner::callFunction(
|
| - v8::Local<v8::Function>::Cast(function), frame->document(),
|
| - global, info.Length(), params.get(), info.GetIsolate()));
|
| + info,
|
| + V8ScriptRunner::callFunction(v8::Local<v8::Function>::Cast(function),
|
| + frame->document(), global, info.Length(),
|
| + params.get(), info.GetIsolate()));
|
| return;
|
| }
|
|
|
|
|