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

Unified Diff: chrome/browser/ui/views/avatar_label.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: chrome/browser/ui/views/avatar_label.cc
diff --git a/chrome/browser/ui/views/avatar_label.cc b/chrome/browser/ui/views/avatar_label.cc
index 9b35b8a1b99ffd12c9cdd959ee846dfa7fdc94d7..9bdb576a2efc2021bca859a9c6bebafc0e0ed779 100644
--- a/chrome/browser/ui/views/avatar_label.cc
+++ b/chrome/browser/ui/views/avatar_label.cc
@@ -125,5 +125,5 @@ void AvatarLabel::UpdateLabelStyle() {
}
void AvatarLabel::SetLabelOnRight(bool label_on_right) {
- set_border(new AvatarLabelBorder(label_on_right));
+ SetBorder(scoped_ptr<views::Border>(new AvatarLabelBorder(label_on_right)));
}

Powered by Google App Engine
This is Rietveld 408576698