Index: ui/gfx/platform_font_linux.h |
diff --git a/ui/gfx/platform_font_linux.h b/ui/gfx/platform_font_linux.h |
index 95f5efb925038ce9d46ad24c7a08264f807980e0..b96c7f56cf5b32925007cd9f231ae190fc565cf8 100644 |
--- a/ui/gfx/platform_font_linux.h |
+++ b/ui/gfx/platform_font_linux.h |
@@ -53,6 +53,8 @@ class GFX_EXPORT PlatformFontLinux : public PlatformFont { |
int GetFontSize() const override; |
const FontRenderParams& GetFontRenderParams() override; |
+ sk_sp<SkTypeface> typeface() const { return typeface_; } |
+ |
private: |
// Create a new instance of this object with the specified properties. Called |
// from DeriveFont. |