Index: xfa/fwl/ifwl_themeprovider.h |
diff --git a/xfa/fwl/ifwl_themeprovider.h b/xfa/fwl/ifwl_themeprovider.h |
index c0460fe9011293b893bef7a9ab936e8a90e43ccf..21a12a55f2a53605afb6cee0d8c050046527efe3 100644 |
--- a/xfa/fwl/ifwl_themeprovider.h |
+++ b/xfa/fwl/ifwl_themeprovider.h |
@@ -26,7 +26,8 @@ class IFWL_ThemeProvider { |
virtual float GetCYBorderSize() const = 0; |
virtual CFX_RectF GetUIMargin(CFWL_ThemePart* pThemePart) const = 0; |
virtual float GetFontSize(CFWL_ThemePart* pThemePart) const = 0; |
- virtual CFGAS_GEFont* GetFont(CFWL_ThemePart* pThemePart) const = 0; |
+ virtual CFX_RetainPtr<CFGAS_GEFont> GetFont( |
+ CFWL_ThemePart* pThemePart) const = 0; |
virtual float GetLineHeight(CFWL_ThemePart* pThemePart) const = 0; |
virtual float GetScrollBarWidth() const = 0; |
virtual FX_COLORREF GetTextColor(CFWL_ThemePart* pThemePart) const = 0; |