summaryrefslogtreecommitdiff
path: root/core/src/fxge
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-06-13 00:31:30 -0700
committerLei Zhang <thestig@chromium.org>2015-06-13 00:31:30 -0700
commit4999f914be6c390bbc6d709c5b65d8955a827970 (patch)
treeb98be7bda6310b5c4bd1c5de1018850b4a4a08aa /core/src/fxge
parent7dac05808121e6ac40a9911e71e6391c88432a62 (diff)
downloadpdfium-4999f914be6c390bbc6d709c5b65d8955a827970.tar.xz
Merge to XFA: Cleanup: Remove uses of "this->" in core/
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1173223002. (cherry picked from commit 2b5e0d5b20654d116045484868c9e015ed698124) Review URL: https://codereview.chromium.org/1186673004.
Diffstat (limited to 'core/src/fxge')
-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 5087b62b7c..e87092f90f 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);
}
}
}