Index: src/core/SkCanvas.cpp |
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp |
index 3acb9136e25814bacb4a725d402820986f56fdf6..3efb44cc548bed305cf0c18450e9b45f91b6711d 100644 |
--- a/src/core/SkCanvas.cpp |
+++ b/src/core/SkCanvas.cpp |
@@ -1077,7 +1077,7 @@ bool SkCanvas::clipRectBounds(const SkRect* bounds, SaveLayerFlags saveLayerFlag |
const SkMatrix& ctm = fMCRec->fMatrix; // this->getTotalMatrix() |
if (imageFilter) { |
- imageFilter->filterBounds(clipBounds, ctm, &clipBounds); |
+ clipBounds = imageFilter->filterBounds(clipBounds, ctm); |
if (bounds && !imageFilter->canComputeFastBounds()) { |
bounds = nullptr; |
} |