Index: src/core/SkCanvas.cpp |
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp |
index 8d17be7bfec597e377ef74fe1cec1b1bfadb4719..4fda7a37b32a306aea9b229c083769acd44e0c1b 100644 |
--- a/src/core/SkCanvas.cpp |
+++ b/src/core/SkCanvas.cpp |
@@ -1586,9 +1586,7 @@ bool SkCanvas::quickReject(const SkRect& rect) const { |
if (fMCRec->fMatrix.hasPerspective()) { |
SkRect dst; |
fMCRec->fMatrix.mapRect(&dst, rect); |
- SkIRect idst; |
- dst.roundOut(&idst); |
- return !SkIRect::Intersects(idst, fMCRec->fRasterClip.getBounds()); |
+ return !SkIRect::Intersects(dst.roundOut(), fMCRec->fRasterClip.getBounds()); |
} else { |
const SkRect& clipR = this->getLocalClipBounds(); |