diff options
Diffstat (limited to 'src/utils/SkGatherPixelRefsAndRects.cpp')
-rw-r--r-- | src/utils/SkGatherPixelRefsAndRects.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/SkGatherPixelRefsAndRects.cpp b/src/utils/SkGatherPixelRefsAndRects.cpp index 7b3be55719..320d99694a 100644 --- a/src/utils/SkGatherPixelRefsAndRects.cpp +++ b/src/utils/SkGatherPixelRefsAndRects.cpp @@ -18,7 +18,7 @@ void SkPictureUtils::GatherPixelRefsAndRects(SkPicture* pict, SkGatherPixelRefsAndRectsDevice device(pict->width(), pict->height(), prCont); SkNoSaveLayerCanvas canvas(&device); - canvas.clipRect(SkRect::MakeWH(SkIntToScalar(pict->width()), + canvas.clipRect(SkRect::MakeWH(SkIntToScalar(pict->width()), SkIntToScalar(pict->height())), SkRegion::kIntersect_Op, false); canvas.drawPicture(*pict); |