From 2b5e0d5b20654d116045484868c9e015ed698124 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 10 Jun 2015 23:33:26 -0700 Subject: Cleanup: Remove uses of "this->" in core/ R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1173223002. --- core/src/fxcrt/fx_basic_coords.cpp | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) (limited to 'core/src/fxcrt/fx_basic_coords.cpp') diff --git a/core/src/fxcrt/fx_basic_coords.cpp b/core/src/fxcrt/fx_basic_coords.cpp index 496b1443d1..652f62c71c 100644 --- a/core/src/fxcrt/fx_basic_coords.cpp +++ b/core/src/fxcrt/fx_basic_coords.cpp @@ -249,23 +249,28 @@ CFX_FloatRect CFX_FloatRect::GetBBox(const CFX_FloatPoint* pPoints, int nPoints) } return CFX_FloatRect(min_x, min_y, max_x, max_y); } -void CFX_Matrix::Set(FX_FLOAT a, FX_FLOAT b, FX_FLOAT c, FX_FLOAT d, FX_FLOAT e, FX_FLOAT f) -{ - this->a = a; - this->b = b; - this->c = c; - this->d = d; - this->e = e; - this->f = f; +void CFX_Matrix::Set(FX_FLOAT other_a, + FX_FLOAT other_b, + FX_FLOAT other_c, + FX_FLOAT other_d, + FX_FLOAT other_e, + FX_FLOAT other_f) +{ + a = other_a; + b = other_b; + c = other_c; + d = other_d; + e = other_e; + f = other_f; } void CFX_Matrix::Set(const FX_FLOAT n[6]) { - this->a = n[0]; - this->b = n[1]; - this->c = n[2]; - this->d = n[3]; - this->e = n[4]; - this->f = n[5]; + a = n[0]; + b = n[1]; + c = n[2]; + d = n[3]; + e = n[4]; + f = n[5]; } void CFX_Matrix::SetReverse(const CFX_Matrix &m) { -- cgit v1.2.3