aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/ClipBoundsTest.cpp
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2016-12-08 16:06:37 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-12-08 21:45:27 +0000
commit8e7432b7f98dd592e529a0c8bb038d73ebfb0478 (patch)
treed3eb65dacc074a58eedfb0d430f969e2e3336774 /tests/ClipBoundsTest.cpp
parent6a4cdb6ba9ff5aa03186b7fa287f8e4d08be4578 (diff)
remove SK_SUPPORT_LEGACY_CLIP_REGIONOPS
switch over to SkClipOps now that SK_SUPPORT_LEGACY_CLIP_REGIONOPS is gone BUG=skia: Change-Id: Ifdc8b3746d508348a40cc009a4e529a1cb3c405d Reviewed-on: https://skia-review.googlesource.com/5714 Commit-Queue: Mike Reed <reed@google.com> Reviewed-by: Mike Reed <reed@google.com>
Diffstat (limited to 'tests/ClipBoundsTest.cpp')
-rw-r--r--tests/ClipBoundsTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ClipBoundsTest.cpp b/tests/ClipBoundsTest.cpp
index fd3e191ee6..e8aae38994 100644
--- a/tests/ClipBoundsTest.cpp
+++ b/tests/ClipBoundsTest.cpp
@@ -26,7 +26,7 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(GrClipBounds, reporter, ctxInfo) {
// create a clip stack that will (trivially) reduce to a single rect that
// is larger than the screen
SkClipStack stack;
- stack.clipRect(clipRect, SkMatrix::I(), SkCanvas::kReplace_Op, false);
+ stack.clipRect(clipRect, SkMatrix::I(), kReplace_SkClipOp, false);
bool isIntersectionOfRects = true;
SkRect devStackBounds;