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

Unified Diff: ash/test/test_shelf_delegate.cc

Issue 1547223002: Convert Pass()→std::move() in //ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/system/web_notification/web_notification_tray_unittest.cc ('k') | ash/touch/touch_hud_debug.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_shelf_delegate.cc
diff --git a/ash/test/test_shelf_delegate.cc b/ash/test/test_shelf_delegate.cc
index 114d73661856d1f41f7130a1819f10a44630792a..232c46c71c6541f7faac14e14bbe03a33bd67118 100644
--- a/ash/test/test_shelf_delegate.cc
+++ b/ash/test/test_shelf_delegate.cc
@@ -4,6 +4,8 @@
#include "ash/test/test_shelf_delegate.h"
+#include <utility>
+
#include "ash/shelf/shelf_item_delegate_manager.h"
#include "ash/shelf/shelf_model.h"
#include "ash/shelf/shelf_util.h"
@@ -54,7 +56,7 @@ void TestShelfDelegate::AddShelfItem(aura::Window* window,
Shell::GetInstance()->shelf_item_delegate_manager();
// |manager| owns TestShelfItemDelegate.
scoped_ptr<ShelfItemDelegate> delegate(new TestShelfItemDelegate(window));
- manager->SetShelfItemDelegate(id, delegate.Pass());
+ manager->SetShelfItemDelegate(id, std::move(delegate));
SetShelfIDForWindow(id, window);
}
« no previous file with comments | « ash/system/web_notification/web_notification_tray_unittest.cc ('k') | ash/touch/touch_hud_debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698