summaryrefslogtreecommitdiff
path: root/xfa/fwl/cfwl_widget.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-12-08 19:45:00 -0800
committerCommit bot <commit-bot@chromium.org>2016-12-08 19:45:00 -0800
commit1babeeed9c259b9d486b4cbee949253769d18fff (patch)
tree83a4e29dea3781a58f66d2b42427d1f18490b17a /xfa/fwl/cfwl_widget.h
parent94afac986c9d6232b7791acff4f23d99fbd004ae (diff)
downloadpdfium-1babeeed9c259b9d486b4cbee949253769d18fff.tar.xz
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
Diffstat (limited to 'xfa/fwl/cfwl_widget.h')
-rw-r--r--xfa/fwl/cfwl_widget.h2
1 files changed, 1 insertions, 1 deletions
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; }