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

Unified Diff: chrome/browser/ui/views/status_icons/status_tray_win.cc

Issue 1752233002: Convert Pass()→std::move() on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 10 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: chrome/browser/ui/views/status_icons/status_tray_win.cc
diff --git a/chrome/browser/ui/views/status_icons/status_tray_win.cc b/chrome/browser/ui/views/status_icons/status_tray_win.cc
index 301001d93fb068e2a251b83894e0a0ba71ee9434..913d11aef6d3f1752e83815ddaa0b1d991bef030 100644
--- a/chrome/browser/ui/views/status_icons/status_tray_win.cc
+++ b/chrome/browser/ui/views/status_icons/status_tray_win.cc
@@ -6,6 +6,8 @@
#include <commctrl.h>
+#include <utility>
+
#include "base/bind.h"
#include "base/location.h"
#include "base/macros.h"
@@ -230,7 +232,7 @@ UINT StatusTrayWin::NextIconId() {
void StatusTrayWin::SetStatusTrayStateChangerProxyForTest(
scoped_ptr<StatusTrayStateChangerProxy> proxy) {
- state_changer_proxy_ = proxy.Pass();
+ state_changer_proxy_ = std::move(proxy);
}
StatusTray* StatusTray::Create() {

Powered by Google App Engine
This is Rietveld 408576698