ports/www/iridium/files/patch-ui_gfx_font__render__params.h
Carlos J. Puga Medina 633f9296f4 Add new port www/iridium
Iridium is a free, open, and libre browser modification of the Chromium
code base, with privacy being enhanced in several key areas.

Automatic transmission of partial queries, keywords, metrics to central
services is inhibited and only occurs with consent.

WWW: https://iridiumbrowser.de/
2017-04-29 23:00:33 +00:00

18 lines
719 B
C++

--- ui/gfx/font_render_params.h.orig 2017-04-19 19:06:54 UTC
+++ ui/gfx/font_render_params.h
@@ -106,13 +106,13 @@ GFX_EXPORT FontRenderParams GetFontRende
const FontRenderParamsQuery& query,
std::string* family_out);
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
// Clears GetFontRenderParams()'s cache. Intended to be called by tests that are
// changing Fontconfig's configuration.
GFX_EXPORT void ClearFontRenderParamsCacheForTest();
#endif
-#if defined(OS_CHROMEOS) || defined(OS_LINUX)
+#if defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_BSD)
// Gets the device scale factor to query the FontRenderParams.
GFX_EXPORT float GetFontRenderParamsDeviceScaleFactor();