Index: src/effects/SkBlurDrawLooper.cpp |
diff --git a/src/effects/SkBlurDrawLooper.cpp b/src/effects/SkBlurDrawLooper.cpp |
index 2578d092bbb7de3c204b68d41b00e2d0118ec473..30583747c9c101fe7004962cf0095e211db98397 100644 |
--- a/src/effects/SkBlurDrawLooper.cpp |
+++ b/src/effects/SkBlurDrawLooper.cpp |
@@ -34,7 +34,7 @@ void SkBlurDrawLooper::initEffects() { |
SkBlurMaskFilter::kHighQuality_BlurFlag : |
SkBlurMaskFilter::kNone_BlurFlag; |
- fBlur = SkBlurMaskFilter::Create(kNormal_SkBlurStyle, fSigma, flags); |
+ fBlur = SkBlurMaskFilter::Make(kNormal_SkBlurStyle, fSigma, flags); |
} else { |
fBlur = nullptr; |
} |
@@ -78,10 +78,6 @@ void SkBlurDrawLooper::flatten(SkWriteBuffer& buffer) const { |
buffer.write32(fBlurFlags); |
} |
-SkBlurDrawLooper::~SkBlurDrawLooper() { |
- SkSafeUnref(fBlur); |
-} |
- |
bool SkBlurDrawLooper::asABlurShadow(BlurShadowRec* rec) const { |
if (fSigma <= 0 || (fBlurFlags & fBlurFlags & kIgnoreTransform_BlurFlag)) { |
return false; |