aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/xps
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/xps
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/xps')
-rw-r--r--src/xps/SkXPSDevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xps/SkXPSDevice.cpp b/src/xps/SkXPSDevice.cpp
index 302f79eebb..bf93302d51 100644
--- a/src/xps/SkXPSDevice.cpp
+++ b/src/xps/SkXPSDevice.cpp
@@ -1143,7 +1143,7 @@ void SkXPSDevice::drawPoints(const SkDraw& d, SkCanvas::PointMode mode,
size_t count, const SkPoint points[],
const SkPaint& paint) {
//This will call back into the device to do the drawing.
- d.drawPoints(mode, count, points, paint, true);
+ d.drawPoints(mode, count, points, paint, this);
}
void SkXPSDevice::drawVertices(const SkDraw&, SkCanvas::VertexMode,