From 6c67f1d04591f44bccb476d715a005ad5bbdf840 Mon Sep 17 00:00:00 2001 From: Mike Reed Date: Wed, 14 Dec 2016 10:29:54 -0500 Subject: SkClipOp is now an enum class Change-Id: If423dd013a264162ae0b7674a0eeef34bc2cdaae --- libs/hwui/CanvasState.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/hwui/CanvasState.cpp') diff --git a/libs/hwui/CanvasState.cpp b/libs/hwui/CanvasState.cpp index 489039c2547a..dbbf00d8bdec 100644 --- a/libs/hwui/CanvasState.cpp +++ b/libs/hwui/CanvasState.cpp @@ -225,7 +225,7 @@ void CanvasState::setClippingOutline(LinearAllocator& allocator, const Outline* bool outlineIsRounded = MathUtils::isPositive(radius); if (!outlineIsRounded || currentTransform()->isSimple()) { // TODO: consider storing this rect separately, so that this can't be replaced with clip ops - clipRect(bounds.left, bounds.top, bounds.right, bounds.bottom, kIntersect_SkClipOp); + clipRect(bounds.left, bounds.top, bounds.right, bounds.bottom, SkClipOp::kIntersect); } if (outlineIsRounded) { setClippingRoundRect(allocator, bounds, radius, false); -- cgit v1.2.3-59-g8ed1b