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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTestHelper.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/core/layout/LayoutTestHelper.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutTestHelper.h b/third_party/WebKit/Source/core/layout/LayoutTestHelper.h
index 189a8d87d89fb7179a60317f4aa40bb0af874400..a6c0c6cac725b4d004640c2315878ab03792e34b 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTestHelper.h
+++ b/third_party/WebKit/Source/core/layout/LayoutTestHelper.h
@@ -13,8 +13,8 @@
#include "core/loader/EmptyClients.h"
#include "core/testing/DummyPageHolder.h"
#include "wtf/Allocator.h"
+#include "wtf/OwnPtr.h"
#include <gtest/gtest.h>
-#include <memory>
namespace blink {
@@ -60,7 +60,7 @@ private:
Persistent<LocalFrame> m_subframe;
Persistent<FrameLoaderClient> m_frameLoaderClient;
Persistent<FrameLoaderClient> m_childFrameLoaderClient;
- std::unique_ptr<DummyPageHolder> m_pageHolder;
+ OwnPtr<DummyPageHolder> m_pageHolder;
};
class SingleChildFrameLoaderClient final : public EmptyFrameLoaderClient {
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTableCell.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutThemeTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698