Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1048)

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V0CustomElementBinding.h

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/bindings/core/v8/V0CustomElementBinding.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/V0CustomElementBinding.h b/third_party/WebKit/Source/bindings/core/v8/V0CustomElementBinding.h
index ff26119def17295273b9f0a531a266c61d1fed37..2f5ef1cb48c91d81d3eb069b4eeec40f20b7e30e 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V0CustomElementBinding.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V0CustomElementBinding.h
@@ -33,7 +33,7 @@
#include "bindings/core/v8/ScopedPersistent.h"
#include "wtf/Allocator.h"
-#include <memory>
+#include "wtf/PassOwnPtr.h"
#include <v8.h>
namespace blink {
@@ -41,7 +41,7 @@ namespace blink {
class V0CustomElementBinding {
USING_FAST_MALLOC(V0CustomElementBinding);
public:
- static std::unique_ptr<V0CustomElementBinding> create(v8::Isolate*, v8::Local<v8::Object> prototype);
+ static PassOwnPtr<V0CustomElementBinding> create(v8::Isolate*, v8::Local<v8::Object> prototype);
~V0CustomElementBinding();
private:

Powered by Google App Engine
This is Rietveld 408576698