aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/rrects.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/rrects.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/rrects.cpp')
-rw-r--r--gm/rrects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/rrects.cpp b/gm/rrects.cpp
index 431f017fc4..217e528e2b 100644
--- a/gm/rrects.cpp
+++ b/gm/rrects.cpp
@@ -83,7 +83,7 @@ protected:
#endif
#if SK_SUPPORT_GPU
- int lastEdgeType = (kEffect_Type == fType) ? kLast_GrClipEdgeType: 0;
+ int lastEdgeType = (kEffect_Type == fType) ? (int) GrClipEdgeType::kLast: 0;
#else
int lastEdgeType = 0;
#endif