Index: third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.cpp |
index 4439850fc628b748a1676a0a95670390acc49d27..b277398c70ac6f3bc14a2e8f51180d0fc513556a 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.cpp |
@@ -34,8 +34,8 @@ |
#include "bindings/core/v8/V8HTMLEmbedElement.h" |
#include "bindings/core/v8/V8HTMLObjectElement.h" |
#include "core/frame/UseCounter.h" |
-#include "wtf/OwnPtr.h" |
-#include "wtf/PassOwnPtr.h" |
+#include "wtf/PtrUtil.h" |
+#include <memory> |
namespace blink { |
@@ -146,7 +146,7 @@ void invokeOnScriptableObject(const v8::FunctionCallbackInfo<v8::Value>& info) |
if (instance.IsEmpty()) |
return; |
- WTF::OwnPtr<v8::Local<v8::Value>[] > arguments = adoptArrayPtr(new v8::Local<v8::Value>[info.Length()]); |
+ std::unique_ptr<v8::Local<v8::Value>[] > arguments = wrapArrayUnique(new v8::Local<v8::Value>[info.Length()]); |
for (int i = 0; i < info.Length(); ++i) |
arguments[i] = info[i]; |