Index: src/effects/SkRectShaderImageFilter.cpp |
diff --git a/src/effects/SkRectShaderImageFilter.cpp b/src/effects/SkRectShaderImageFilter.cpp |
index 00964b5ffbf367048be9ab68dc9f1fbf6159e80c..14837d02b15680268368d06eb635bbc865392167 100644 |
--- a/src/effects/SkRectShaderImageFilter.cpp |
+++ b/src/effects/SkRectShaderImageFilter.cpp |
@@ -79,11 +79,8 @@ |
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; |
+bool SkRectShaderImageFilter::affectsTransparentBlack() const { |
+ return true; |
} |
#ifndef SK_IGNORE_TO_STRING |