Allow kNoCropRect to be referenced
This should fix the macOS fuzzer build. Bug: chromium:1139725 Change-Id: I14090da4ee7d9d0a6e515b05c23c0a1e50ca4e5f Reviewed-on: https://skia-review.googlesource.com/c/skia/+/328385 Auto-Submit: Michael Ludwig <michaelludwig@google.com> Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Michael Ludwig <michaelludwig@google.com>
This commit is contained in:
parent
51dc28505f
commit
3ed7cb5a8b
@ -47,6 +47,10 @@ static SkImageFilter::CropRect to_legacy_crop_rect(const SkImageFilters::CropRec
|
||||
: SkImageFilter::CropRect(SkRect::MakeEmpty(), 0x0);
|
||||
}
|
||||
|
||||
// Allow kNoCropRect to be referenced (for certain builds, e.g. macOS libFuzzer chromium target,
|
||||
// see crbug.com/1139725)
|
||||
constexpr SkRect SkImageFilters::CropRect::kNoCropRect;
|
||||
|
||||
void SkImageFilters::RegisterFlattenables() {
|
||||
SkAlphaThresholdFilter::RegisterFlattenables();
|
||||
SkArithmeticImageFilter::RegisterFlattenables();
|
||||
|
Loading…
Reference in New Issue
Block a user