From 1babeeed9c259b9d486b4cbee949253769d18fff Mon Sep 17 00:00:00 2001 From: dsinclair Date: Thu, 8 Dec 2016 19:45:00 -0800 Subject: Change CFWL_Widget::GetMatrix to return the matrix This CL switches to using a return value instead of an out parameter. The global flag was also removed and the call sites changed to just SetIdentity as appropriate. Review-Url: https://codereview.chromium.org/2564443003 --- xfa/fwl/cfwl_widget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xfa/fwl/cfwl_widget.h') diff --git a/xfa/fwl/cfwl_widget.h b/xfa/fwl/cfwl_widget.h index 5046aab888..e2fce0e1ac 100644 --- a/xfa/fwl/cfwl_widget.h +++ b/xfa/fwl/cfwl_widget.h @@ -91,7 +91,7 @@ class CFWL_Widget : public IFWL_WidgetDelegate { } void TransformTo(CFWL_Widget* pWidget, FX_FLOAT& fx, FX_FLOAT& fy); - void GetMatrix(CFX_Matrix& matrix, bool bGlobal); + CFX_Matrix GetMatrix(); IFWL_ThemeProvider* GetThemeProvider() const; void SetDelegate(IFWL_WidgetDelegate* delegate) { m_pDelegate = delegate; } -- cgit v1.2.3