diff options
author | Ethan Nicholas <ethannicholas@google.com> | 2017-11-10 11:58:19 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-11-10 17:42:27 +0000 |
commit | 1706f842086c089ebc496dfc7f45c959e5eda01e (patch) | |
tree | 3221e9f852ec68f995e5668d3ef613ce11f84e5d /gm/bigrrectaaeffect.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/bigrrectaaeffect.cpp')
-rw-r--r-- | gm/bigrrectaaeffect.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/bigrrectaaeffect.cpp b/gm/bigrrectaaeffect.cpp index c04f3e77c6..62c9da8b30 100644 --- a/gm/bigrrectaaeffect.cpp +++ b/gm/bigrrectaaeffect.cpp @@ -61,8 +61,8 @@ protected: int y = kPad; int x = kPad; constexpr GrClipEdgeType kEdgeTypes[] = { - kFillAA_GrClipEdgeType, - kInverseFillAA_GrClipEdgeType, + GrClipEdgeType::kFillAA, + GrClipEdgeType::kInverseFillAA, }; SkRect testBounds = SkRect::MakeIWH(fTestWidth, fTestHeight); for (size_t et = 0; et < SK_ARRAY_COUNT(kEdgeTypes); ++et) { |