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..5de26f6f335ef149218e2c8565c4a5b8915f49ec 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 std::ref(typeface_); } |
mthiesse
2017/05/10 15:38:00
remove std::ref, it's not necessary.
|
+ |
private: |
// Create a new instance of this object with the specified properties. Called |
// from DeriveFont. |