diff options
author | reed <reed@google.com> | 2016-04-25 09:25:15 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-25 09:25:15 -0700 |
commit | 96a04f329926099f0002f97883242793ff04f61c (patch) | |
tree | 9dbddfd003bf30f1197fa5a9b39a1e23aa1e5397 /src/effects | |
parent | 9f666a14a9112c3cdec4d2a3332390cae20197df (diff) |
simplify handle-affine: subclass overrides just describe their leaf behavior
added new test case (that would have failed before) of blur with a colorfilter input
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1915943002
Review URL: https://codereview.chromium.org/1915943002
Diffstat (limited to 'src/effects')
-rw-r--r-- | src/effects/SkColorFilterImageFilter.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/effects/SkColorFilterImageFilter.cpp b/src/effects/SkColorFilterImageFilter.cpp index 7a2f4cc2ab..8d412cc2f5 100644 --- a/src/effects/SkColorFilterImageFilter.cpp +++ b/src/effects/SkColorFilterImageFilter.cpp @@ -126,12 +126,6 @@ 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(); } |