Index: src/core/SkCanvas.cpp |
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp |
index 7d71ffb13bdd573ea0b014e66975e4c81de9393b..95a14e933b3947e1eec18f0339cc44c3cf9fbbed 100644 |
--- a/src/core/SkCanvas.cpp |
+++ b/src/core/SkCanvas.cpp |
@@ -1556,10 +1556,8 @@ void SkCanvas::onClipRRect(const SkRRect& rrect, SkRegion::Op op, ClipEdgeStyle |
fClipStack->clipDevRRect(transformedRRect, op, kSoft_ClipEdgeStyle == edgeStyle); |
- SkPath devPath; |
- devPath.addRRect(transformedRRect); |
- |
- rasterclip_path(&fMCRec->fRasterClip, this, devPath, op, kSoft_ClipEdgeStyle == edgeStyle); |
+ fMCRec->fRasterClip.op(transformedRRect, this->getBaseLayerSize(), op, |
+ kSoft_ClipEdgeStyle == edgeStyle); |
return; |
} |