summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-11-20 10:13:18 -0800
committerTom Sepez <tsepez@chromium.org>2015-11-20 10:13:18 -0800
commit5500da04e3acfa98baf9befb5d91fb787d599341 (patch)
tree8f21f3af2329daf938d8cc0f298fe22668cf1a05 /core
parent0afbad0509578a5fee6fec4394d6b3c55425cf28 (diff)
downloadpdfium-5500da04e3acfa98baf9befb5d91fb787d599341.tar.xz
Merge to XFA: Remove CFX_Matrix::Reset()
Original Review URL: https://codereview.chromium.org/1459243002 . (cherry picked from commit 6fc00fafcbac1fd5edd767fe2d4a8e4a9ef52806) R=thestig@chromium.org Review URL: https://codereview.chromium.org/1461703008 .
Diffstat (limited to 'core')
-rw-r--r--core/include/fxcrt/fx_coordinates.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/core/include/fxcrt/fx_coordinates.h b/core/include/fxcrt/fx_coordinates.h
index ddd0f572c8..e7fbe8549b 100644
--- a/core/include/fxcrt/fx_coordinates.h
+++ b/core/include/fxcrt/fx_coordinates.h
@@ -607,10 +607,7 @@ class CFX_FloatRect {
};
class CFX_Matrix {
public:
- CFX_Matrix() {
- a = d = 1;
- b = c = e = f = 0;
- }
+ CFX_Matrix() { SetIdentity(); }
CFX_Matrix(FX_FLOAT a1,
FX_FLOAT b1,
@@ -648,11 +645,8 @@ class CFX_Matrix {
FX_FLOAT e,
FX_FLOAT f,
FX_BOOL bPrepended = FALSE);
-
void Concat(const CFX_Matrix& m, FX_BOOL bPrepended = FALSE);
-
void ConcatInverse(const CFX_Matrix& m, FX_BOOL bPrepended = FALSE);
- void Reset() { SetIdentity(); }
void Copy(const CFX_Matrix& m) { *this = m; }