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

Unified Diff: third_party/WebKit/Source/core/dom/ActiveDOMObjectTest.cpp

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/core/dom/ActiveDOMObjectTest.cpp
diff --git a/third_party/WebKit/Source/core/dom/ActiveDOMObjectTest.cpp b/third_party/WebKit/Source/core/dom/ActiveDOMObjectTest.cpp
index 3faad0291eb56fb22ed359fdd00f56b360d75d12..196d623f2e0b88d6f1c696246728ab9f3f6ed827 100644
--- a/third_party/WebKit/Source/core/dom/ActiveDOMObjectTest.cpp
+++ b/third_party/WebKit/Source/core/dom/ActiveDOMObjectTest.cpp
@@ -34,6 +34,7 @@
#include "core/testing/DummyPageHolder.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
+#include <memory>
namespace blink {
@@ -61,8 +62,8 @@ protected:
MockActiveDOMObject& activeDOMObject() { return *m_activeDOMObject; }
private:
- OwnPtr<DummyPageHolder> m_srcPageHolder;
- OwnPtr<DummyPageHolder> m_destPageHolder;
+ std::unique_ptr<DummyPageHolder> m_srcPageHolder;
+ std::unique_ptr<DummyPageHolder> m_destPageHolder;
Persistent<MockActiveDOMObject> m_activeDOMObject;
};
« no previous file with comments | « third_party/WebKit/Source/core/dom/AXObjectCache.cpp ('k') | third_party/WebKit/Source/core/dom/AddConsoleMessageTask.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698