From 5500da04e3acfa98baf9befb5d91fb787d599341 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Fri, 20 Nov 2015 10:13:18 -0800 Subject: 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 . --- xfa/src/fxgraphics/src/fx_graphics.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xfa/src/fxgraphics') diff --git a/xfa/src/fxgraphics/src/fx_graphics.cpp b/xfa/src/fxgraphics/src/fx_graphics.cpp index 655c87085b..990e7f47e8 100644 --- a/xfa/src/fxgraphics/src/fx_graphics.cpp +++ b/xfa/src/fxgraphics/src/fx_graphics.cpp @@ -25,7 +25,7 @@ CFX_Graphics::CFX_Graphics() { _info._graphState.SetDashCount(0); _info._isAntialiasing = TRUE; _info._strokeAlignment = FX_STROKEALIGNMENT_Center; - _info._CTM.Reset(); + _info._CTM.SetIdentity(); _info._isActOnDash = FALSE; _info._strokeColor = NULL; _info._fillColor = NULL; @@ -1343,7 +1343,7 @@ FX_ERR CFX_Color::Set(CFX_Shading* shading) { } CFX_Pattern::CFX_Pattern() { _type = FX_PATTERN_None; - _matrix.Reset(); + _matrix.SetIdentity(); } FX_ERR CFX_Pattern::Create(CFX_DIBitmap* bitmap, const FX_FLOAT xStep, -- cgit v1.2.3