aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/svg
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/svg')
-rw-r--r--experimental/svg/model/SkSVGLine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/experimental/svg/model/SkSVGLine.cpp b/experimental/svg/model/SkSVGLine.cpp
index 9c8f5aa02b..2719a9bbc2 100644
--- a/experimental/svg/model/SkSVGLine.cpp
+++ b/experimental/svg/model/SkSVGLine.cpp
@@ -68,7 +68,7 @@ void SkSVGLine::onDraw(SkCanvas* canvas, const SkSVGLengthContext& lctx,
SkPoint p0, p1;
std::tie(p0, p1) = this->resolve(lctx);
- canvas->drawLine(p0.x(), p0.y(), p1.x(), p1.y(), paint);
+ canvas->drawLine(p0, p1, paint);
}
SkPath SkSVGLine::onAsPath(const SkSVGRenderContext& ctx) const {