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

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

Issue 2734113006: "Bootstrap" a toolkit-views Typography spec. (Closed)
Patch Set: fix windows 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 707d035b8eb6f1f2505c2f4e0f21ba351c98ffbb..ec369939192906c76ef47fb6d8735e077565308c 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
@@ -588,11 +588,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