summaryrefslogtreecommitdiffstats
path: root/ash/system/user/user_view.cc
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2014-10-15 10:51:00 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-15 17:51:20 +0000
commite10063a6f20a685af1291c510299dc15a1313f03 (patch)
tree69eb58d2bb0d843bf8b6ce293bbab32cc3936d07 /ash/system/user/user_view.cc
parentd3b56ce86a8cc6cf8a44b9494be669c2c2323ad7 (diff)
downloadchromium_src-e10063a6f20a685af1291c510299dc15a1313f03.zip
chromium_src-e10063a6f20a685af1291c510299dc15a1313f03.tar.gz
chromium_src-e10063a6f20a685af1291c510299dc15a1313f03.tar.bz2
Use scoped_ptr::Pass instead of scoped_ptr::PassAs<T>.
BUG=423621 Review URL: https://codereview.chromium.org/655123002 Cr-Commit-Position: refs/heads/master@{#299711}
Diffstat (limited to 'ash/system/user/user_view.cc')
-rw-r--r--ash/system/user/user_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/system/user/user_view.cc b/ash/system/user/user_view.cc
index 03b7b54..002a6f8 100644
--- a/ash/system/user/user_view.cc
+++ b/ash/system/user/user_view.cc
@@ -378,7 +378,7 @@ void UserView::AddLogoutButton(user::LoginStatus login) {
views::Button::STATE_PRESSED,
views::Painter::CreateImageGridPainter(
kPublicAccountLogoutButtonBorderImagesHovered));
- logout_button_->SetBorder(border.PassAs<views::Border>());
+ logout_button_->SetBorder(border.Pass());
}
AddChildView(logout_button_);
}