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

Unified Diff: ash/system/date/tray_date.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/date/date_view.cc ('k') | ash/system/ime/tray_ime.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/date/tray_date.cc
diff --git a/ash/system/date/tray_date.cc b/ash/system/date/tray_date.cc
index c2a4b923646b693cda32ab869bd1cf62623cf3b9..42e36a925791a6e6c9e7551a1fb23e90a98d8564 100644
--- a/ash/system/date/tray_date.cc
+++ b/ash/system/date/tray_date.cc
@@ -64,10 +64,8 @@ class DateDefaultView : public views::View,
SetLayoutManager(new views::FillLayout);
date_view_ = new tray::DateView();
- date_view_->set_border(views::Border::CreateEmptyBorder(kPaddingVertical,
- ash::kTrayPopupPaddingHorizontal,
- 0,
- 0));
+ date_view_->SetBorder(views::Border::CreateEmptyBorder(
+ kPaddingVertical, ash::kTrayPopupPaddingHorizontal, 0, 0));
SpecialPopupRow* view = new SpecialPopupRow();
view->SetContent(date_view_);
AddChildView(view);
« no previous file with comments | « ash/system/date/date_view.cc ('k') | ash/system/ime/tray_ime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698