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

Unified Diff: ash/system/chromeos/session/logout_button_tray.cc

Issue 1551133002: Convert Pass()→std::move() in //ash (CrOS edition) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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: ash/system/chromeos/session/logout_button_tray.cc
diff --git a/ash/system/chromeos/session/logout_button_tray.cc b/ash/system/chromeos/session/logout_button_tray.cc
index 1b7addcb1acaf9fc50cca5fdff5b2e6b6999acbc..f076e8c3f5578969ea9223bb18129148353892fb 100644
--- a/ash/system/chromeos/session/logout_button_tray.cc
+++ b/ash/system/chromeos/session/logout_button_tray.cc
@@ -4,6 +4,8 @@
#include "ash/system/chromeos/session/logout_button_tray.h"
+#include <utility>
+
#include "ash/shelf/shelf_types.h"
#include "ash/shell.h"
#include "ash/system/chromeos/session/logout_confirmation_controller.h"
@@ -83,7 +85,7 @@ LogoutButton::LogoutButton(views::ButtonListener* listener)
insets += gfx::Insets(0, kLogoutButtonHorizontalExtraPadding,
0, kLogoutButtonHorizontalExtraPadding);
border->set_insets(insets);
- SetBorder(border.Pass());
+ SetBorder(std::move(border));
set_animate_on_state_change(false);
SetMinSize(gfx::Size(0, kShelfItemHeight));

Powered by Google App Engine
This is Rietveld 408576698