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

Unified Diff: ash/system/date/date_view.cc

Issue 140693017: Clean-up: Replaces obsolete Font/FontList methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced. Created 6 years, 10 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/chromeos/network/tray_sms.cc ('k') | ash/system/logout_button/logout_button_tray.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/date/date_view.cc
diff --git a/ash/system/date/date_view.cc b/ash/system/date/date_view.cc
index 7caae7116e26a81a493a36db96630535522a7802..10a5ed14d48f0e065ca8714f3f409764678fe1dc 100644
--- a/ash/system/date/date_view.cc
+++ b/ash/system/date/date_view.cc
@@ -301,8 +301,8 @@ void TimeView::SetupLabels() {
void TimeView::SetupLabel(views::Label* label) {
label->set_owned_by_client();
SetupLabelForTray(label);
- label->SetFontList(label->font_list().DeriveFontListWithSizeDeltaAndStyle(
- 0, label->font_list().GetFontStyle() & ~gfx::Font::BOLD));
+ label->SetFontList(label->font_list().DeriveWithStyle(
+ label->font_list().GetFontStyle() & ~gfx::Font::BOLD));
}
} // namespace tray
« no previous file with comments | « ash/system/chromeos/network/tray_sms.cc ('k') | ash/system/logout_button/logout_button_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698