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

Unified Diff: ash/system/tray/tray_empty.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_details_view.cc ('k') | ash/system/tray/tray_popup_label_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/tray_empty.cc
diff --git a/ash/system/tray/tray_empty.cc b/ash/system/tray/tray_empty.cc
index f15f7b31e73aca6481b438c5ea9a8c60cb05a47c..45ecb322367c6ce217e26780a9ce971a11665ee9 100644
--- a/ash/system/tray/tray_empty.cc
+++ b/ash/system/tray/tray_empty.cc
@@ -44,7 +44,7 @@ views::View* TrayEmpty::CreateDefaultView(user::LoginStatus status) {
views::View* view = new views::View;
view->set_background(new EmptyBackground());
- view->set_border(views::Border::CreateEmptyBorder(10, 0, 0, 0));
+ view->SetBorder(views::Border::CreateEmptyBorder(10, 0, 0, 0));
view->SetLayoutManager(new views::BoxLayout(views::BoxLayout::kVertical,
0, 0, 0));
view->SetPaintToLayer(true);
« no previous file with comments | « ash/system/tray/tray_details_view.cc ('k') | ash/system/tray/tray_popup_label_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698