summaryrefslogtreecommitdiff
path: root/core/src/fxge/skia
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/fxge/skia
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/fxge/skia')
-rw-r--r--core/src/fxge/skia/fx_skia_blitter_new.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/src/fxge/skia/fx_skia_blitter_new.cpp b/core/src/fxge/skia/fx_skia_blitter_new.cpp
index 362e8bf59f..bcb50b9e95 100644
--- a/core/src/fxge/skia/fx_skia_blitter_new.cpp
+++ b/core/src/fxge/skia/fx_skia_blitter_new.cpp
@@ -22,7 +22,7 @@
return;
unsigned aa = antialias[0];
if (aa)
- (this->*composite_span)(m_pDestScan, m_pOriScan, 0, x, width, y, aa, m_ClipBox.top, m_ClipBox.left, m_ClipBox.right, m_pClipScan, m_pDestExtraAlphaScan);
+ (*composite_span)(m_pDestScan, m_pOriScan, 0, x, width, y, aa, m_ClipBox.top, m_ClipBox.left, m_ClipBox.right, m_pClipScan, m_pDestExtraAlphaScan);
runs += width;
antialias += width;
x += width;
@@ -33,14 +33,14 @@
{
FXSYS_assert(m_Alpha && width);
if (y < m_ClipBox.top || y >= m_ClipBox.bottom) return;
- (this->*composite_span)(m_pDestScan, m_pOriScan, 0, x, width, y, 255, m_ClipBox.top, m_ClipBox.left, m_ClipBox.right, m_pClipScan, m_pDestExtraAlphaScan);
+ (*composite_span)(m_pDestScan, m_pOriScan, 0, x, width, y, 255, m_ClipBox.top, m_ClipBox.left, m_ClipBox.right, m_pClipScan, m_pDestExtraAlphaScan);
}
void CFX_SkiaRenderer::blitV(int x, int y, int height, SkAlpha alpha)
{
FXSYS_assert(m_Alpha && alpha);
if (alpha == 255) {
- this->blitRect(x, y, 1, height);
+ blitRect(x, y, 1, height);
} else {
int16_t runs[2];
runs[0] = 1;
@@ -48,7 +48,7 @@
while (--height >= 0) {
if (y >= m_ClipBox.bottom)
return;
- this->blitAntiH(x, y ++, &alpha, runs);
+ blitAntiH(x, y ++, &alpha, runs);
}
}
}
@@ -1563,7 +1563,7 @@
{
FXSYS_assert(alpha);
if (alpha == 255) {
- this->blitRect(x, y, 1, height);
+ blitRect(x, y, 1, height);
} else {
int16_t runs[2];
runs[0] = 1;
@@ -1571,7 +1571,7 @@
while (--height >= 0) {
if (y >= m_dstHeight)
return;
- this->blitAntiH(x, y ++, &alpha, runs);
+ blitAntiH(x, y ++, &alpha, runs);
}
}
}