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

Unified Diff: ash/system/logout_button/logout_confirmation_dialog_view.cc

Issue 145033006: views: Make View::set_border() take a scoped_ptr<>. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to ToT Created 6 years, 11 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/logout_button/logout_confirmation_dialog_view.cc
diff --git a/ash/system/logout_button/logout_confirmation_dialog_view.cc b/ash/system/logout_button/logout_confirmation_dialog_view.cc
index 3b5df9b06ec1374247c2796ecb389ef69a5106a0..b26d42fc8db13bbc131256ddb5c352886b3266a0 100644
--- a/ash/system/logout_button/logout_confirmation_dialog_view.cc
+++ b/ash/system/logout_button/logout_confirmation_dialog_view.cc
@@ -37,9 +37,8 @@ LogoutConfirmationDialogView::LogoutConfirmationDialogView(
LogoutButtonTray* owner, Delegate* delegate) : owner_(owner),
delegate_(delegate) {
text_label_ = new views::Label;
- text_label_->set_border(
- views::Border::CreateEmptyBorder(0, kTrayPopupPaddingHorizontal,
- 0, kTrayPopupPaddingHorizontal));
+ text_label_->SetBorder(views::Border::CreateEmptyBorder(
+ 0, kTrayPopupPaddingHorizontal, 0, kTrayPopupPaddingHorizontal));
text_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
text_label_->SetMultiLine(true);
« no previous file with comments | « ash/system/logout_button/logout_button_tray.cc ('k') | ash/system/session_length_limit/tray_session_length_limit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698