From 8e7432b7f98dd592e529a0c8bb038d73ebfb0478 Mon Sep 17 00:00:00 2001 From: Mike Reed Date: Thu, 8 Dec 2016 16:06:37 -0500 Subject: 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 Reviewed-by: Mike Reed --- tests/SkLiteDLTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/SkLiteDLTest.cpp') 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 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(); } -- cgit v1.2.3