aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/convexpolyeffect.cpp
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2018-05-18 12:52:22 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-05-18 18:11:14 +0000
commitec42e15c4d087431535443952c41696b69573b13 (patch)
tree3406a9c8a367bb8b3b8abec2785a537a27ca3ad8 /gm/convexpolyeffect.cpp
parentec79c39a770205910f0abd762de7e19a96c986ca (diff)
Add convenience overload of SkPointPriv::SetRectTriStrip that takes SkRect
Change-Id: Idf5bfafaf19c20f074f12d706b8b8984c5935e6d Reviewed-on: https://skia-review.googlesource.com/129185 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'gm/convexpolyeffect.cpp')
-rw-r--r--gm/convexpolyeffect.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/gm/convexpolyeffect.cpp b/gm/convexpolyeffect.cpp
index ca27e285e2..8942602fb9 100644
--- a/gm/convexpolyeffect.cpp
+++ b/gm/convexpolyeffect.cpp
@@ -86,8 +86,7 @@ private:
return;
}
- SkPointPriv::SetRectTriStrip(verts, fRect.fLeft, fRect.fTop, fRect.fRight, fRect.fBottom,
- sizeof(SkPoint));
+ SkPointPriv::SetRectTriStrip(verts, fRect, sizeof(SkPoint));
helper.recordDraw(
target, gp.get(),