summaryrefslogtreecommitdiff
path: root/xfa/fwl/theme/cfwl_checkboxtp.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-06-01 01:37:51 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-06-02 17:39:35 +0000
commit0a91394b4edba9bc2110161c9a12cecab77ea9e3 (patch)
tree74b3a1ce66e7d1622ee0beec77f9a1d571524807 /xfa/fwl/theme/cfwl_checkboxtp.cpp
parentfeea08cd050b8902bc58d563e0b265063bec417e (diff)
downloadpdfium-0a91394b4edba9bc2110161c9a12cecab77ea9e3.tar.xz
Remove explicit CFX_Matrix identity matrix instantiations.
Change-Id: I96c3429dbe2c572ed409706adfe3707b8b9bf51b Reviewed-on: https://pdfium-review.googlesource.com/6176 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'xfa/fwl/theme/cfwl_checkboxtp.cpp')
-rw-r--r--xfa/fwl/theme/cfwl_checkboxtp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fwl/theme/cfwl_checkboxtp.cpp b/xfa/fwl/theme/cfwl_checkboxtp.cpp
index 0a3ae88a46..6386611b54 100644
--- a/xfa/fwl/theme/cfwl_checkboxtp.cpp
+++ b/xfa/fwl/theme/cfwl_checkboxtp.cpp
@@ -263,7 +263,7 @@ void CFWL_CheckBoxTP::InitCheckPath(float fCheckLen) {
m_pCheckPath->BezierTo(pt5 + p1, pt1 + p2, pt1);
float fScale = fCheckLen / kSignPath;
- CFX_Matrix mt(1, 0, 0, 1, 0, 0);
+ CFX_Matrix mt;
mt.Scale(fScale, fScale);
m_pCheckPath->TransformBy(mt);