summaryrefslogtreecommitdiff
path: root/xfa/fwl/ifwl_themeprovider.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/ifwl_themeprovider.h')
-rw-r--r--xfa/fwl/ifwl_themeprovider.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fwl/ifwl_themeprovider.h b/xfa/fwl/ifwl_themeprovider.h
index eba308597c..78c3e19fe2 100644
--- a/xfa/fwl/ifwl_themeprovider.h
+++ b/xfa/fwl/ifwl_themeprovider.h
@@ -23,7 +23,7 @@ class IFWL_ThemeProvider {
virtual void DrawBackground(CFWL_ThemeBackground* pParams) = 0;
virtual void DrawText(CFWL_ThemeText* pParams) = 0;
- virtual void CalcTextRect(CFWL_ThemeText* pParams, CFX_RectF& rect) = 0;
+ virtual void CalcTextRect(CFWL_ThemeText* pParams, CFX_RectF* pRect) = 0;
virtual float GetCXBorderSize() const = 0;
virtual float GetCYBorderSize() const = 0;
virtual CFX_RectF GetUIMargin(CFWL_ThemePart* pThemePart) const = 0;