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

Unified Diff: ash/shelf/shelf_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: address comments 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
« no previous file with comments | « ash/shelf/shelf_tooltip_manager_unittest.cc ('k') | ash/shelf/shelf_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_unittest.cc
diff --git a/ash/shelf/shelf_unittest.cc b/ash/shelf/shelf_unittest.cc
index ef8be3442f39fa67325067d98cc36dfed8a59915..1abe5702d5fa99114bbd02658776b2ac53a5d21b 100644
--- a/ash/shelf/shelf_unittest.cc
+++ b/ash/shelf/shelf_unittest.cc
@@ -84,7 +84,7 @@ class ShelfTest : public ash::test::AshTestBase {
ShelfView* shelf_view_;
ShelfModel* shelf_model_;
ShelfItemDelegateManager* item_delegate_manager_;
- scoped_ptr<test::ShelfViewTestAPI> test_;
+ std::unique_ptr<test::ShelfViewTestAPI> test_;
DISALLOW_COPY_AND_ASSIGN(ShelfTest);
};
@@ -120,7 +120,7 @@ TEST_F(ShelfTest, checkHoverAfterMenu) {
item.status = STATUS_RUNNING;
int index = shelf_model()->Add(item);
- scoped_ptr<ShelfItemDelegate> delegate(
+ std::unique_ptr<ShelfItemDelegate> delegate(
new test::TestShelfItemDelegate(NULL));
item_manager()->SetShelfItemDelegate(shelf_model()->items()[index].id,
std::move(delegate));
« no previous file with comments | « ash/shelf/shelf_tooltip_manager_unittest.cc ('k') | ash/shelf/shelf_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698