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

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