diff options
Diffstat (limited to 'src/pdf')
-rw-r--r-- | src/pdf/SkPDFDevice.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp index b2c54fecce..8f3146b2ad 100644 --- a/src/pdf/SkPDFDevice.cpp +++ b/src/pdf/SkPDFDevice.cpp @@ -568,9 +568,7 @@ void SkPDFDevice::drawPoints(const SkDraw& d, if (d.fClipStack->isEmpty(this->getGlobalBounds())) { return; } - SkDraw pointDraw(d); - pointDraw.fDevice = this; - pointDraw.drawPoints(mode, count, points, passedPaint, true); + d.drawPoints(mode, count, points, passedPaint, this); return; } |