Respect cropRect in SkDropShadowImageFilter::onMakeColorSpace()

Bug: skia:6516
Change-Id: Iec940c585654d0c45aa8de7743c270bd54f6af7a
Reviewed-on: https://skia-review.googlesource.com/14370
Commit-Queue: Mike Klein <mtklein@chromium.org>
Reviewed-by: Mike Klein <mtklein@chromium.org>
This commit is contained in:
Matt Sarett 2017-04-26 11:51:00 -04:00 committed by Skia Commit-Bot
parent c81d22f337
commit deca5c3af6

View File

@ -120,7 +120,7 @@ sk_sp<SkImageFilter> SkDropShadowImageFilter::onMakeColorSpace(SkColorSpaceXform
this->getInput(0) ? this->getInput(0)->makeColorSpace(xformer) : nullptr;
return SkDropShadowImageFilter::Make(fDx, fDy, fSigmaX, fSigmaY, xformer->apply(fColor),
fShadowMode, std::move(input));
fShadowMode, std::move(input), this->getCropRectIfSet());
}
SkRect SkDropShadowImageFilter::computeFastBounds(const SkRect& src) const {