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

Unified Diff: third_party/WebKit/Source/core/page/scrolling/SnapCoordinatorTest.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/page/scrolling/SnapCoordinatorTest.cpp
diff --git a/third_party/WebKit/Source/core/page/scrolling/SnapCoordinatorTest.cpp b/third_party/WebKit/Source/core/page/scrolling/SnapCoordinatorTest.cpp
index bcebdc8b4941e83a66d3330f2d1156dcf6dfdb66..1b854d9bb0114bb4150fe3ea383cc2717f5b616f 100644
--- a/third_party/WebKit/Source/core/page/scrolling/SnapCoordinatorTest.cpp
+++ b/third_party/WebKit/Source/core/page/scrolling/SnapCoordinatorTest.cpp
@@ -10,8 +10,8 @@
#include "core/style/ComputedStyle.h"
#include "core/testing/DummyPageHolder.h"
#include "platform/scroll/ScrollTypes.h"
-
#include <gtest/gtest.h>
+#include <memory>
namespace blink {
@@ -82,7 +82,7 @@ protected:
return coordinator().snapOffsets(node, orientation);
}
- OwnPtr<DummyPageHolder> m_pageHolder;
+ std::unique_ptr<DummyPageHolder> m_pageHolder;
};
INSTANTIATE_TEST_CASE_P(All, SnapCoordinatorTest, ::testing::Values(

Powered by Google App Engine
This is Rietveld 408576698