Index: src/effects/SkColorFilterImageFilter.cpp |
diff --git a/src/effects/SkColorFilterImageFilter.cpp b/src/effects/SkColorFilterImageFilter.cpp |
index beb3138c84e3bebea4846607883734f640daeeed..a5904ea60b672d4c7041c88c9baa0fff2c3c183b 100644 |
--- a/src/effects/SkColorFilterImageFilter.cpp |
+++ b/src/effects/SkColorFilterImageFilter.cpp |
@@ -106,11 +106,8 @@ bool SkColorFilterImageFilter::onIsColorFilterNode(SkColorFilter** filter) const |
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 |