aboutsummaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-ui_base_webui_web__ui__util.cc
blob: f825383f6aadbeda0f2b83c885df97a30b7cb5f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ui/base/webui/web_ui_util.cc.orig	2017-04-19 19:06:54 UTC
+++ ui/base/webui/web_ui_util.cc
@@ -161,7 +161,7 @@ std::string GetFontFamily() {
 
 // TODO(dnicoara) Remove Ozone check when PlatformFont support is introduced
 // into Ozone: crbug.com/320050
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS) && !defined(USE_OZONE)
+#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS) && !defined(USE_OZONE)
   font_family = ui::ResourceBundle::GetSharedInstance().GetFont(
       ui::ResourceBundle::BaseFont).GetFontName() + ", " + font_family;
 #endif