Chromium Code Reviews| 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)); |