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

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

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. 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/ScopedPersistent.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScopedPersistent.h b/third_party/WebKit/Source/bindings/core/v8/ScopedPersistent.h
index 83b87cd569cdc35a14c7f1232ac27a176553549d..c1d44eccf624e785c0a895bdb2d110df7ddbbd03 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScopedPersistent.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ScopedPersistent.h
@@ -33,6 +33,7 @@
#include "wtf/Allocator.h"
#include "wtf/Noncopyable.h"
+#include <memory>
#include <v8.h>
namespace blink {
@@ -92,7 +93,7 @@ public:
m_handle.Reset(isolate, handle);
}
- // Note: This is clear in the OwnPtr sense, not the v8::Handle sense.
+ // Note: This is clear in the std::unique_ptr sense, not the v8::Handle sense.
void clear()
{
m_handle.Reset();

Powered by Google App Engine
This is Rietveld 408576698