Index: src/effects/SkColorFilterImageFilter.cpp |
diff --git a/src/effects/SkColorFilterImageFilter.cpp b/src/effects/SkColorFilterImageFilter.cpp |
index b0e47505a7399f6ed7b1aacec5f80ca17abfd305..8d394aa17b42b882ee79f7d92218342d84769692 100644 |
--- a/src/effects/SkColorFilterImageFilter.cpp |
+++ b/src/effects/SkColorFilterImageFilter.cpp |
@@ -99,11 +99,8 @@ |
return false; |
} |
-bool SkColorFilterImageFilter::canComputeFastBounds() const { |
- if (fColorFilter->affectsTransparentBlack()) { |
- return false; |
- } |
- return INHERITED::canComputeFastBounds(); |
+bool SkColorFilterImageFilter::affectsTransparentBlack() const { |
+ return fColorFilter->affectsTransparentBlack(); |
} |
#ifndef SK_IGNORE_TO_STRING |