Index: third_party/WebKit/Source/bindings/core/v8/V0CustomElementBinding.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V0CustomElementBinding.cpp b/third_party/WebKit/Source/bindings/core/v8/V0CustomElementBinding.cpp |
index 518a1197cb4cfc1dc595bacbc23e6b9de7d94baa..91dcdd93af8eb4291a2d16496148931dde1be125 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V0CustomElementBinding.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/V0CustomElementBinding.cpp |
@@ -30,14 +30,11 @@ |
#include "bindings/core/v8/V0CustomElementBinding.h" |
-#include "wtf/PtrUtil.h" |
-#include <memory> |
- |
namespace blink { |
-std::unique_ptr<V0CustomElementBinding> V0CustomElementBinding::create(v8::Isolate* isolate, v8::Local<v8::Object> prototype) |
+PassOwnPtr<V0CustomElementBinding> V0CustomElementBinding::create(v8::Isolate* isolate, v8::Local<v8::Object> prototype) |
{ |
- return wrapUnique(new V0CustomElementBinding(isolate, prototype)); |
+ return adoptPtr(new V0CustomElementBinding(isolate, prototype)); |
} |
V0CustomElementBinding::V0CustomElementBinding(v8::Isolate* isolate, v8::Local<v8::Object> prototype) |