aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pdf/SkPDFDevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdf/SkPDFDevice.cpp')
-rw-r--r--src/pdf/SkPDFDevice.cpp4
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;
}