BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1717943002
TBR=
Review URL: https://codereview.chromium.org/
1717943002
if (!this->getClipDeviceBounds(&clipBounds)) {
return false;
}
- SkASSERT(!clipBounds.isEmpty());
const SkMatrix& ctm = fMCRec->fMatrix; // this->getTotalMatrix()
if (imageFilter) {
- if (!imageFilter->filterBounds(clipBounds, ctm, &clipBounds) || clipBounds.isEmpty()) {
- return false;
- }
+ imageFilter->filterBounds(clipBounds, ctm, &clipBounds);
if (bounds && !imageFilter->canComputeFastBounds()) {
bounds = nullptr;
}
return false;
}
- SkASSERT(!clip.getBounds().isEmpty());
if (bounds) {
*bounds = clip.getBounds();
}