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/fxge/skia/fx_skia_blitter_new.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'core/src/fxge/skia') 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); } } } -- cgit v1.2.3