diff options
Diffstat (limited to 'src/effects/SkBlurMaskFilter.cpp')
-rw-r--r-- | src/effects/SkBlurMaskFilter.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/effects/SkBlurMaskFilter.cpp b/src/effects/SkBlurMaskFilter.cpp index a44105d616..50a97ff196 100644 --- a/src/effects/SkBlurMaskFilter.cpp +++ b/src/effects/SkBlurMaskFilter.cpp @@ -743,11 +743,7 @@ sk_sp<SkFlattenable> SkBlurMaskFilterImpl::CreateProc(SkReadBuffer& buffer) { flags &= SkBlurMaskFilter::kAll_BlurFlag; SkRect occluder; - if (buffer.isVersionLT(SkReadBuffer::kBlurMaskFilterWritesOccluder)) { - occluder.setEmpty(); - } else { - buffer.readRect(&occluder); - } + buffer.readRect(&occluder); if (style <= kLastEnum_SkBlurStyle) { return SkBlurMaskFilter::Make((SkBlurStyle)style, sigma, occluder, flags); |