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

Unified Diff: chrome/browser/ui/views/website_settings/website_settings_popup_view.cc

Issue 2734113006: "Bootstrap" a toolkit-views Typography spec. (Closed)
Patch Set: ExtendableEnum Created 3 years, 9 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: chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
diff --git a/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc b/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
index 98b2ed0ea369fbc066cb184acd0e75e4852b95b7..75792211e33215a06b8f59cc62648b2d415a04da 100644
--- a/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
+++ b/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
@@ -584,11 +584,9 @@ void WebsiteSettingsPopupView::SetCookieInfo(
// implemented. See https://crbug.com/512442#c48
views::GridLayout::LEADING);
- ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance();
- const gfx::FontList& font_list = rb.GetFontListWithDelta(1);
views::Label* cookies_label = new views::Label(
l10n_util::GetStringUTF16(IDS_WEBSITE_SETTINGS_TITLE_SITE_DATA),
- font_list);
+ views::TextContext::DIALOG_MESSAGE);
layout->AddView(cookies_label);
layout->StartRow(1, cookies_view_column);
layout->SkipColumns(1);

Powered by Google App Engine
This is Rietveld 408576698