Package: chromium-browser / 70.0.3538.110-1~deb9u1

fixes/member-assignment.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
description: gcc6 doesn't support initializer list member assignment
author: Michael Gilbert <mgilbert@debian.org>

--- a/chrome/browser/ui/views/omnibox/omnibox_text_view.cc
+++ b/chrome/browser/ui/views/omnibox/omnibox_text_view.cc
@@ -175,7 +175,8 @@ void ApplyTextStyleForType(SuggestionAns
       style = {part_color, .baseline = gfx::SUPERIOR};
       break;
     case SuggestionAnswer::TextStyle::BOLD:
-      style = {part_color, .weight = gfx::Font::Weight::BOLD};
+      style.color = part_color;
+      style.weight = gfx::Font::Weight::BOLD;
       break;
     case SuggestionAnswer::TextStyle::NORMAL:
     case SuggestionAnswer::TextStyle::NORMAL_DIM: