Index: src/c/sk_surface.cpp |
diff --git a/src/c/sk_surface.cpp b/src/c/sk_surface.cpp |
index fcc22465c66b7c468aa5da72aaa6d1afd007fdf1..c9b25675a0a4970e22145aadd7d4330538861435 100644 |
--- a/src/c/sk_surface.cpp |
+++ b/src/c/sk_surface.cpp |
@@ -671,7 +671,7 @@ sk_maskfilter_t* sk_maskfilter_new_blur(sk_blurstyle_t cstyle, float sigma) { |
if (!find_blurstyle(cstyle, &style)) { |
return NULL; |
} |
- return ToMaskFilter(SkBlurMaskFilter::Create(style, sigma)); |
+ return ToMaskFilter(SkBlurMaskFilter::Make(style, sigma).release()); |
} |
/////////////////////////////////////////////////////////////////////////////////////////// |