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

Unified Diff: ash/system/tray/tray_popup_label_button.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
« no previous file with comments | « ash/system/tray/tray_empty.cc ('k') | ash/system/tray/tray_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/tray_popup_label_button.cc
diff --git a/ash/system/tray/tray_popup_label_button.cc b/ash/system/tray/tray_popup_label_button.cc
index 5b00c02a0601d064d791893c4dba958fcbbc6a2d..4f80288dc635c58e4b0aefd21b725e108ba3ef5f 100644
--- a/ash/system/tray/tray_popup_label_button.cc
+++ b/ash/system/tray/tray_popup_label_button.cc
@@ -16,7 +16,7 @@ namespace internal {
TrayPopupLabelButton::TrayPopupLabelButton(views::ButtonListener* listener,
const base::string16& text)
: views::LabelButton(listener, text) {
- set_border(new TrayPopupLabelButtonBorder);
+ SetBorder(scoped_ptr<views::Border>(new TrayPopupLabelButtonBorder));
SetFocusable(true);
set_request_focus_on_press(false);
set_animate_on_state_change(false);
« no previous file with comments | « ash/system/tray/tray_empty.cc ('k') | ash/system/tray/tray_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698