| Index: src/effects/SkColorFilterImageFilter.cpp
|
| diff --git a/src/effects/SkColorFilterImageFilter.cpp b/src/effects/SkColorFilterImageFilter.cpp
|
| index 8d412cc2f5579967e9d304c443183f5b5855ae7b..7a2f4cc2abf65374b571980b74ade8eb14895284 100644
|
| --- a/src/effects/SkColorFilterImageFilter.cpp
|
| +++ b/src/effects/SkColorFilterImageFilter.cpp
|
| @@ -126,6 +126,12 @@ bool SkColorFilterImageFilter::onIsColorFilterNode(SkColorFilter** filter) const
|
| return false;
|
| }
|
|
|
| +bool SkColorFilterImageFilter::onCanHandleAffine() const {
|
| + SkASSERT(1 == this->countInputs());
|
| + SkImageFilter* input = this->getInput(0);
|
| + return !input || input->canHandleAffine();
|
| +}
|
| +
|
| bool SkColorFilterImageFilter::affectsTransparentBlack() const {
|
| return fColorFilter->affectsTransparentBlack();
|
| }
|
|
|