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

Unified Diff: ash/system/tray/default_system_tray_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/locale/locale_notification_controller.cc ('k') | ash/system/user/user_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/default_system_tray_delegate.cc
diff --git a/ash/system/tray/default_system_tray_delegate.cc b/ash/system/tray/default_system_tray_delegate.cc
index ea163393bd6d5df6d4ff67e356974b3dc1359ed8..649a9f349a75a9625629f4b0eb360b2b99107c13 100644
--- a/ash/system/tray/default_system_tray_delegate.cc
+++ b/ash/system/tray/default_system_tray_delegate.cc
@@ -5,6 +5,7 @@
#include "ash/system/tray/default_system_tray_delegate.h"
#include <string>
+#include <utility>
#include "ash/networking_config_delegate.h"
#include "ash/session/session_state_delegate.h"
@@ -82,7 +83,7 @@ VolumeControlDelegate* DefaultSystemTrayDelegate::GetVolumeControlDelegate()
void DefaultSystemTrayDelegate::SetVolumeControlDelegate(
scoped_ptr<VolumeControlDelegate> delegate) {
- volume_control_delegate_ = delegate.Pass();
+ volume_control_delegate_ = std::move(delegate);
}
int DefaultSystemTrayDelegate::GetSystemTrayMenuWidth() {
« no previous file with comments | « ash/system/locale/locale_notification_controller.cc ('k') | ash/system/user/user_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698