summaryrefslogtreecommitdiff
path: root/chromium/content/renderer/theme_helper_mac.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/renderer/theme_helper_mac.h')
-rw-r--r--chromium/content/renderer/theme_helper_mac.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/content/renderer/theme_helper_mac.h b/chromium/content/renderer/theme_helper_mac.h
index 98e6949143a..9b4feecbf15 100644
--- a/chromium/content/renderer/theme_helper_mac.h
+++ b/chromium/content/renderer/theme_helper_mac.h
@@ -15,6 +15,10 @@ void SystemColorsDidChange(int aqua_color_variant,
const std::string& highlight_text_color,
const std::string& highlight_color);
+// MacOS 10.14 (Mojave) disabled subpixel anti-aliasing by default, but this can
+// be overridden with a setting (CGFontRenderingFontSmoothingDisabled).
+bool IsSubpixelAntialiasingAvailable();
+
} // namespace content
#endif // CONTENT_RENDERER_THEME_HELPER_MAC_H_