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

Unified Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc

Issue 1550053002: Convert Pass()→std::move() in //chrome/browser/ui (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
Index: chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
index c84f9fe1895efa6f2cb6a239777d607fef9444f0..e76928b55fcb0dfbd2ab929aa2647f1a60660176 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
@@ -1370,7 +1370,7 @@ ChromeLauncherAppMenuItems ChromeLauncherController::GetApplicationList(
// extension itself is a valid application and not a panel.
LauncherItemController* controller = GetLauncherItemController(item.id);
if (!controller || !GetShelfIDForAppID(controller->app_id()))
- return ChromeLauncherAppMenuItems().Pass();
+ return ChromeLauncherAppMenuItems();
return controller->GetApplicationList(event_flags);
}
@@ -2177,7 +2177,7 @@ void ChromeLauncherController::SetShelfItemDelegate(
DCHECK(item_delegate);
DCHECK(item_delegate_manager_);
item_delegate_manager_->SetShelfItemDelegate(
- id, scoped_ptr<ash::ShelfItemDelegate>(item_delegate).Pass());
+ id, scoped_ptr<ash::ShelfItemDelegate>(item_delegate));
}
void ChromeLauncherController::AttachProfile(Profile* profile) {

Powered by Google App Engine
This is Rietveld 408576698