diff options
author | 2017-11-10 11:58:19 -0500 | |
---|---|---|
committer | 2017-11-10 17:42:27 +0000 | |
commit | 1706f842086c089ebc496dfc7f45c959e5eda01e (patch) | |
tree | 3221e9f852ec68f995e5668d3ef613ce11f84e5d /gm/rrects.cpp | |
parent | 5e9dfdbf4209fd6b41b1bc52190dabb32ae77e51 (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.cpp | 2 |
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 |