summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xfa/src/fwl/src/core/fwl_widgetmgrimp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/src/fwl/src/core/fwl_widgetmgrimp.cpp b/xfa/src/fwl/src/core/fwl_widgetmgrimp.cpp
index 7fe82b3428..a986854b94 100644
--- a/xfa/src/fwl/src/core/fwl_widgetmgrimp.cpp
+++ b/xfa/src/fwl/src/core/fwl_widgetmgrimp.cpp
@@ -740,7 +740,7 @@ FWL_ERR CFWL_WidgetMgrDelegate::OnDrawWidget(IFWL_Widget* pWidget,
clipCopy = clipBounds;
} else {
clipBounds.Set(pMatrix->a, pMatrix->b, pMatrix->c, pMatrix->d);
- ((CFX_Matrix*)pMatrix)->Reset();
+ ((CFX_Matrix*)pMatrix)->SetIdentity(); // FIXME: const cast.
#ifdef FWL_UseMacSystemBorder
#else
#endif