aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/convexpolyeffect.cpp
diff options
context:
space:
mode:
authorGravatar Ethan Nicholas <ethannicholas@google.com>2017-11-10 11:58:19 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-11-10 17:42:27 +0000
commit1706f842086c089ebc496dfc7f45c959e5eda01e (patch)
tree3221e9f852ec68f995e5668d3ef613ce11f84e5d /gm/convexpolyeffect.cpp
parent5e9dfdbf4209fd6b41b1bc52190dabb32ae77e51 (diff)
switched GrClipEdge to an enum class
Bug: skia: Change-Id: Idf41580314a32739c70721530fc3ca48e566b044 Reviewed-on: https://skia-review.googlesource.com/70023 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'gm/convexpolyeffect.cpp')
-rw-r--r--gm/convexpolyeffect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/convexpolyeffect.cpp b/gm/convexpolyeffect.cpp
index 0814b0b2c4..ca27e285e2 100644
--- a/gm/convexpolyeffect.cpp
+++ b/gm/convexpolyeffect.cpp
@@ -192,7 +192,7 @@ protected:
const SkPath* path = iter.get();
SkScalar x = 0;
- for (int et = 0; et < kGrProcessorEdgeTypeCnt; ++et) {
+ for (int et = 0; et < kGrClipEdgeTypeCnt; ++et) {
const SkMatrix m = SkMatrix::MakeTrans(x, y);
SkPath p;
path->transform(m, &p);
@@ -234,7 +234,7 @@ protected:
SkScalar x = 0;
- for (int et = 0; et < kGrProcessorEdgeTypeCnt; ++et) {
+ for (int et = 0; et < kGrClipEdgeTypeCnt; ++et) {
SkRect rect = *iter.get();
rect.offset(x, y);
GrClipEdgeType edgeType = (GrClipEdgeType) et;