diff options
| author | 2016-12-14 10:29:54 -0500 | |
|---|---|---|
| committer | 2016-12-14 10:29:54 -0500 | |
| commit | 6c67f1d04591f44bccb476d715a005ad5bbdf840 (patch) | |
| tree | be97ab65b6793aedf2c574fda7fd1f31a7bc317b /libs/hwui/CanvasState.cpp | |
| parent | 9ed3a080e866c087af725e0b6abda026c83a9aa8 (diff) | |
SkClipOp is now an enum class
Change-Id: If423dd013a264162ae0b7674a0eeef34bc2cdaae
Diffstat (limited to 'libs/hwui/CanvasState.cpp')
| -rw-r--r-- | libs/hwui/CanvasState.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |