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

Unified Diff: ui/views/examples/label_example.cc

Issue 145033006: views: Make View::set_border() take a scoped_ptr<>. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Further renaming 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: ui/views/examples/label_example.cc
diff --git a/ui/views/examples/label_example.cc b/ui/views/examples/label_example.cc
index fe7c8f077727771d6ec1f40c92ae8dd12076525e..f9c865641493f196f970f5f9da825543cb671c9a 100644
--- a/ui/views/examples/label_example.cc
+++ b/ui/views/examples/label_example.cc
@@ -32,7 +32,7 @@ class PreferredSizeLabel : public Label {
};
PreferredSizeLabel::PreferredSizeLabel() : Label() {
- set_border(Border::CreateSolidBorder(2, SK_ColorCYAN));
+ SetBorder(Border::CreateSolidBorder(2, SK_ColorCYAN));
}
PreferredSizeLabel::~PreferredSizeLabel() {}

Powered by Google App Engine
This is Rietveld 408576698