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

Unified Diff: third_party/WebKit/Source/core/testing/PrivateScriptTestTest.cpp

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge. 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/core/testing/PrivateScriptTestTest.cpp
diff --git a/third_party/WebKit/Source/core/testing/PrivateScriptTestTest.cpp b/third_party/WebKit/Source/core/testing/PrivateScriptTestTest.cpp
index a4bd66475b39b66d578c325775f9bc8d1a95f594..6fe33e47b8db77691cc23b83e730160ca6f9ff90 100644
--- a/third_party/WebKit/Source/core/testing/PrivateScriptTestTest.cpp
+++ b/third_party/WebKit/Source/core/testing/PrivateScriptTestTest.cpp
@@ -10,6 +10,7 @@
#include "bindings/core/v8/V8PrivateScriptTest.h"
#include "core/testing/DummyPageHolder.h"
#include "testing/gtest/include/gtest/gtest.h"
+#include <memory>
// PrivateScriptTest.js is available only in debug builds.
#ifndef NDEBUG
@@ -37,7 +38,7 @@ public:
protected:
V8TestingScope m_scope;
- OwnPtr<DummyPageHolder> m_dummyPageHolder;
+ std::unique_ptr<DummyPageHolder> m_dummyPageHolder;
Persistent<PrivateScriptTest> m_privateScriptTest;
};

Powered by Google App Engine
This is Rietveld 408576698