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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8BindingForTesting.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/V8BindingForTesting.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8BindingForTesting.h b/third_party/WebKit/Source/bindings/core/v8/V8BindingForTesting.h
index 564634a3c630e04e1872897d60ebbc14a5dbafe0..bc2810b340350afc6f10c71fd866be946bbc812d 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8BindingForTesting.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V8BindingForTesting.h
@@ -9,6 +9,8 @@
#include "bindings/core/v8/ScriptState.h"
#include "wtf/Allocator.h"
#include "wtf/Forward.h"
+#include "wtf/OwnPtr.h"
+
#include <v8.h>
namespace blink {
@@ -45,7 +47,7 @@ public:
~V8TestingScope();
private:
- std::unique_ptr<DummyPageHolder> m_holder;
+ OwnPtr<DummyPageHolder> m_holder;
v8::HandleScope m_handleScope;
v8::Local<v8::Context> m_context;
v8::Context::Scope m_contextScope;

Powered by Google App Engine
This is Rietveld 408576698