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

Unified Diff: chrome/browser/ui/views/accessibility/invert_bubble_view.cc

Issue 2768923003: Fix gn_all build on gcc 4.8 (Closed)
Patch Set: 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/accessibility/invert_bubble_view.cc
diff --git a/chrome/browser/ui/views/accessibility/invert_bubble_view.cc b/chrome/browser/ui/views/accessibility/invert_bubble_view.cc
index a17a61830ec7ce39a757d434ff4572b3088532c9..b1bcf3143e07001993482f8b6617648333f743c1 100644
--- a/chrome/browser/ui/views/accessibility/invert_bubble_view.cc
+++ b/chrome/browser/ui/views/accessibility/invert_bubble_view.cc
@@ -84,8 +84,8 @@ void InvertBubbleView::Init() {
// TODO(tapted): This should be using WidgetDelegate::GetWindowTitle().
views::Label* title = new views::Label(
- base::string16(), {original_font_list.Derive(2, gfx::Font::NORMAL,
- gfx::Font::Weight::BOLD)});
+ base::string16(), views::Label::CustomFont{original_font_list.Derive(
sky 2017/03/23 22:59:46 What gcc error does this generate?
Tom (Use chromium acct) 2017/03/23 23:45:14 error: no matching function for call to 'views::La
sky 2017/03/24 02:41:50 I'm surprised by this one given FontList::Derive r
+ 2, gfx::Font::NORMAL, gfx::Font::Weight::BOLD)});
title->SetMultiLine(true);
learn_more_ = new views::Link(l10n_util::GetStringUTF16(IDS_LEARN_MORE));

Powered by Google App Engine
This is Rietveld 408576698