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

Unified Diff: ash/test/ash_test_helper_unittest.cc

Issue 1867223004: Convert //ash from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: ash/test/ash_test_helper_unittest.cc
diff --git a/ash/test/ash_test_helper_unittest.cc b/ash/test/ash_test_helper_unittest.cc
index 07b511788fc77ef93d46b1343324f84edf91fb27..0d2c436715f3912c680e3d27ef4d773ea7f6c1be 100644
--- a/ash/test/ash_test_helper_unittest.cc
+++ b/ash/test/ash_test_helper_unittest.cc
@@ -36,7 +36,7 @@ class AshTestHelperTest : public testing::Test {
private:
base::MessageLoopForUI message_loop_;
- scoped_ptr<ash::test::AshTestHelper> ash_test_helper_;
+ std::unique_ptr<ash::test::AshTestHelper> ash_test_helper_;
DISALLOW_COPY_AND_ASSIGN(AshTestHelperTest);
};
@@ -50,7 +50,7 @@ TEST_F(AshTestHelperTest, AshTestHelper) {
// Enough state is initialized to create a window.
using views::Widget;
- scoped_ptr<Widget> w1(new Widget);
+ std::unique_ptr<Widget> w1(new Widget);
Widget::InitParams params;
params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET;
params.context = ash_test_helper()->CurrentContext();

Powered by Google App Engine
This is Rietveld 408576698