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