| Index: src/effects/SkRectShaderImageFilter.cpp
|
| diff --git a/src/effects/SkRectShaderImageFilter.cpp b/src/effects/SkRectShaderImageFilter.cpp
|
| index 14837d02b15680268368d06eb635bbc865392167..00964b5ffbf367048be9ab68dc9f1fbf6159e80c 100644
|
| --- a/src/effects/SkRectShaderImageFilter.cpp
|
| +++ b/src/effects/SkRectShaderImageFilter.cpp
|
| @@ -79,8 +79,11 @@ bool SkRectShaderImageFilter::onFilterImage(Proxy* proxy,
|
| return true;
|
| }
|
|
|
| -bool SkRectShaderImageFilter::affectsTransparentBlack() const {
|
| - return true;
|
| +bool SkRectShaderImageFilter::canComputeFastBounds() const {
|
| + // http:skbug.com/4627: "make computeFastBounds and onFilterBounds() CropRect-aware"
|
| + // computeFastBounds() doesn't currently take the crop rect into account,
|
| + // so we can't compute it. If a full crop rect is set, we should return true here.
|
| + return false;
|
| }
|
|
|
| #ifndef SK_IGNORE_TO_STRING
|
|
|