aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/SkLiteDLTest.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/SkLiteDLTest.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/SkLiteDLTest.cpp')
-rw-r--r--tests/SkLiteDLTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/SkLiteDLTest.cpp b/tests/SkLiteDLTest.cpp
index f3fccc8542..96046ccc8a 100644
--- a/tests/SkLiteDLTest.cpp
+++ b/tests/SkLiteDLTest.cpp
@@ -13,7 +13,7 @@ DEF_TEST(SkLiteDL_basics, r) {
sk_sp<SkLiteDL> p { SkLiteDL::New({2,2,3,3}) };
p->save();
- p->clipRect(SkRect{2,3,4,5}, SkCanvas::kIntersect_Op, true);
+ p->clipRect(SkRect{2,3,4,5}, kIntersect_SkClipOp, true);
p->drawRect(SkRect{0,0,9,9}, SkPaint{});
p->restore();
}
@@ -27,7 +27,7 @@ DEF_TEST(SkLiteRecorder, r) {
rec.reset(p.get());
c->save();
- c->clipRect(SkRect{2,3,4,5}, SkCanvas::kIntersect_Op, true);
+ c->clipRect(SkRect{2,3,4,5}, kIntersect_SkClipOp, true);
c->drawRect(SkRect{0,0,9,9}, SkPaint{});
c->restore();
}