aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pdf
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-02-22 11:01:08 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-02-22 16:54:48 +0000
commit99330ba6227137866a0dbd63478d36f335203ebd (patch)
tree70e79529df61d1836840f70e5c814ce0be6c7d2f /src/pdf
parentf3ee34f1eca8f32fa0ec5494c335ce75382420a7 (diff)
remove device field from SkDraw
BUG=skia:6214 Change-Id: I5d57feb3e92f2c1691231c982e74020560febeca Reviewed-on: https://skia-review.googlesource.com/8837 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'src/pdf')
-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;
}