diff options
author | Rene Ladan <rene@FreeBSD.org> | 2016-06-07 20:28:41 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2016-06-07 20:28:41 +0000 |
commit | 45d3cc73dc908af3262c6a714cb755edd03f071a (patch) | |
tree | 564e40b2ccfe669385077be2c94de93ac0c15fe3 /www/chromium/files/patch-ui_base_webui_web__ui__util.cc | |
parent | 071c1e89c17887adb174a6933a8f241ac326e143 (diff) | |
download | ports-45d3cc73dc908af3262c6a714cb755edd03f071a.tar.gz ports-45d3cc73dc908af3262c6a714cb755edd03f071a.zip |
Notes
Diffstat (limited to 'www/chromium/files/patch-ui_base_webui_web__ui__util.cc')
-rw-r--r-- | www/chromium/files/patch-ui_base_webui_web__ui__util.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www/chromium/files/patch-ui_base_webui_web__ui__util.cc b/www/chromium/files/patch-ui_base_webui_web__ui__util.cc new file mode 100644 index 000000000000..0871f06fedcf --- /dev/null +++ b/www/chromium/files/patch-ui_base_webui_web__ui__util.cc @@ -0,0 +1,11 @@ +--- ui/base/webui/web_ui_util.cc.orig 2016-05-11 19:02:35 UTC ++++ ui/base/webui/web_ui_util.cc +@@ -164,7 +164,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 |