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

Unified Diff: ash/system/user/user_view.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
Index: ash/system/user/user_view.cc
diff --git a/ash/system/user/user_view.cc b/ash/system/user/user_view.cc
index 4d1b5382961f2800418ae5fc3ad61ff449ac7ba6..2a693251882b1d0520c1ed46e40e1d0b3c5ca13e 100644
--- a/ash/system/user/user_view.cc
+++ b/ash/system/user/user_view.cc
@@ -5,6 +5,7 @@
#include "ash/system/user/user_view.h"
#include <algorithm>
+#include <utility>
#include "ash/multi_profile_uma.h"
#include "ash/popup_message.h"
@@ -351,7 +352,7 @@ void UserView::AddLogoutButton(user::LoginStatus login) {
views::Button::STATE_PRESSED,
views::Painter::CreateImageGridPainter(
kPublicAccountLogoutButtonBorderImagesHovered));
- logout_button_->SetBorder(border.Pass());
+ logout_button_->SetBorder(std::move(border));
}
AddChildView(logout_button_);
}
« no previous file with comments | « ash/system/tray/default_system_tray_delegate.cc ('k') | ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698