diff options
author | yukishiino@chromium.org <yukishiino@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-05 06:55:54 +0000 |
---|---|---|
committer | yukishiino@chromium.org <yukishiino@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-05 06:55:54 +0000 |
commit | a48a9c1c3d07559a7706b2923aa7bb65e1ff1e14 (patch) | |
tree | 9ee360daf13b0ccde64960a8439cf29b34571458 /ui | |
parent | 177e696a5717d235582d20f3d7234b049bf32001 (diff) | |
download | chromium_src-a48a9c1c3d07559a7706b2923aa7bb65e1ff1e14.zip chromium_src-a48a9c1c3d07559a7706b2923aa7bb65e1ff1e14.tar.gz chromium_src-a48a9c1c3d07559a7706b2923aa7bb65e1ff1e14.tar.bz2 |
Clean-up: Replaces obsolete Font/FontList methods.
Replaces obsolete methods of gfx::Font and gfx::FontList with new ones.
BUG=265485
TEST=Run ui_unittests.
Review URL: https://codereview.chromium.org/152733002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248887 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui')
-rw-r--r-- | ui/message_center/views/notification_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/message_center/views/notification_view.cc b/ui/message_center/views/notification_view.cc index 028d9d3..42f1caa 100644 --- a/ui/message_center/views/notification_view.cc +++ b/ui/message_center/views/notification_view.cc @@ -326,7 +326,7 @@ NotificationView::NotificationView(MessageCenterController* controller, title_view_ = NULL; if (!notification.title().empty()) { const gfx::FontList& font_list = - default_label_font_list.DeriveFontListWithSizeDelta(2); + default_label_font_list.DeriveWithSizeDelta(2); int padding = kTitleLineHeight - font_list.GetHeight(); title_view_ = new BoundedLabel( gfx::TruncateString(notification.title(), kTitleCharacterLimit), |