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

Unified Diff: chrome/browser/ui/views/first_run_bubble.cc

Issue 1819753003: Allow various font weights in gfx. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a lost comment and modify a render text unittest to not test black because of test env font con… Created 4 years, 7 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/first_run_bubble.cc
diff --git a/chrome/browser/ui/views/first_run_bubble.cc b/chrome/browser/ui/views/first_run_bubble.cc
index e93f6eddb0c536868846d274f6c979c2af5e042e..67177528b78559998ce30b9e6681065ba508cfe0 100644
--- a/chrome/browser/ui/views/first_run_bubble.cc
+++ b/chrome/browser/ui/views/first_run_bubble.cc
@@ -48,7 +48,7 @@ void FirstRunBubble::Init() {
base::string16();
views::Label* title = new views::Label(
l10n_util::GetStringFUTF16(IDS_FR_BUBBLE_TITLE, search_engine_name),
- original_font_list.Derive(2, gfx::Font::BOLD));
+ original_font_list.Derive(2, gfx::Font::NORMAL, gfx::Font::Weight::BOLD));
views::Link* change =
new views::Link(l10n_util::GetStringUTF16(IDS_FR_BUBBLE_CHANGE));

Powered by Google App Engine
This is Rietveld 408576698