summaryrefslogtreecommitdiff
path: root/core/src/fxcrt
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-06-10 23:33:26 -0700
committerLei Zhang <thestig@chromium.org>2015-06-10 23:33:26 -0700
commit2b5e0d5b20654d116045484868c9e015ed698124 (patch)
treee458d5b729c992d58072d19422f7c83b3973d54b /core/src/fxcrt
parentf726c92cb2cf5739fd5b21e825e5bf510040c62f (diff)
downloadpdfium-2b5e0d5b20654d116045484868c9e015ed698124.tar.xz
Cleanup: Remove uses of "this->" in core/
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1173223002.
Diffstat (limited to 'core/src/fxcrt')
-rw-r--r--core/src/fxcrt/fx_basic_coords.cpp33
1 files changed, 19 insertions, 14 deletions
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)
{