| 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 fc4c3d704e2a23e9027e44b6a8533769cdc6d468..045d989e224efe1c97fc3050ec66871e7141eed1 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/custom/V8DocumentCustom.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8DocumentCustom.cpp
|
| @@ -43,9 +43,10 @@
|
| #include "core/html/HTMLAllCollection.h"
|
| #include "core/html/HTMLCollection.h"
|
| #include "core/html/HTMLIFrameElement.h"
|
| -#include "wtf/OwnPtr.h"
|
| +#include "wtf/PtrUtil.h"
|
| #include "wtf/RefPtr.h"
|
| #include "wtf/StdLibExtras.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -76,7 +77,7 @@ void V8Document::openMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& inf
|
| return;
|
| }
|
| // Wrap up the arguments and call the function.
|
| - OwnPtr<v8::Local<v8::Value>[]> params = adoptArrayPtr(new v8::Local<v8::Value>[info.Length()]);
|
| + std::unique_ptr<v8::Local<v8::Value>[]> params = wrapArrayUnique(new v8::Local<v8::Value>[info.Length()]);
|
| for (int i = 0; i < info.Length(); i++)
|
| params[i] = info[i];
|
|
|
|
|