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() { |