summaryrefslogtreecommitdiff
path: root/xfa/src
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-11-20 10:21:53 -0800
committerTom Sepez <tsepez@chromium.org>2015-11-20 10:21:53 -0800
commite3987e786d14b34b4055eb190f483edb0d30f090 (patch)
treedade32834f84378abc025775360778ddce1c7116 /xfa/src
parent5500da04e3acfa98baf9befb5d91fb787d599341 (diff)
downloadpdfium-e3987e786d14b34b4055eb190f483edb0d30f090.tar.xz
Fix Mac compilation at 5500da04e3ac
TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1460293002 .
Diffstat (limited to 'xfa/src')
-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