Index: src/utils/SkGatherPixelRefsAndRects.h |
diff --git a/src/utils/SkGatherPixelRefsAndRects.h b/src/utils/SkGatherPixelRefsAndRects.h |
index 9589c3ea3852ba8a5fb2ffeccc13d47823c9186b..6e11fbe6d58a350f1c8008187a4114f0d3e96d6e 100644 |
--- a/src/utils/SkGatherPixelRefsAndRects.h |
+++ b/src/utils/SkGatherPixelRefsAndRects.h |
@@ -79,9 +79,8 @@ |
SkRect mappedRect; |
draw.fMatrix->mapRect(&mappedRect, rect); |
SkRect clipRect = SkRect::Make(draw.fRC->getBounds()); |
- if (mappedRect.intersect(clipRect)) { |
- fPRCont->add(bm.pixelRef(), mappedRect); |
- } |
+ mappedRect.intersect(clipRect); |
+ fPRCont->add(bm.pixelRef(), mappedRect); |
} |
} |
virtual void drawOval(const SkDraw& draw, const SkRect& rect, |