diff options
Diffstat (limited to 'src/core/SkDraw.cpp')
-rw-r--r-- | src/core/SkDraw.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/SkDraw.cpp b/src/core/SkDraw.cpp index 95942f76a8..b35d7f9f4c 100644 --- a/src/core/SkDraw.cpp +++ b/src/core/SkDraw.cpp @@ -1579,7 +1579,7 @@ SkGlyphRunListDrawer::PerMask SkDraw::drawOneMaskCreator( auto useRegion = fRC->isBW() && !fRC->isRect(); if (useRegion) { - return [this, blitter, &paint](const SkMask& mask) { + return [this, blitter, &paint](const SkMask& mask, const SkGlyph&, SkPoint) { SkRegion::Cliperator clipper(fRC->bwRgn(), mask.fBounds); if (!clipper.done()) { @@ -1597,7 +1597,7 @@ SkGlyphRunListDrawer::PerMask SkDraw::drawOneMaskCreator( } else { SkIRect clipBounds = fRC->isBW() ? fRC->bwRgn().getBounds() : fRC->aaRgn().getBounds(); - return [this, blitter, clipBounds, &paint](const SkMask& mask) { + return [this, blitter, clipBounds, &paint](const SkMask& mask, const SkGlyph&, SkPoint) { SkIRect storage; const SkIRect* bounds = &mask.fBounds; @@ -1639,7 +1639,7 @@ void SkDraw::drawGlyphRunList( return this->drawOneMaskCreator(paint, alloc); }; - glyphDraw->drawForBitmap(glyphRunList, *fMatrix, perMaskBuilder, perPathBuilder); + glyphDraw->drawForBitmapDevice(glyphRunList, *fMatrix, perMaskBuilder, perPathBuilder); } #if defined _WIN32 |