Index: src/animator/SkDrawEmboss.cpp |
diff --git a/src/animator/SkDrawEmboss.cpp b/src/animator/SkDrawEmboss.cpp |
index a1cd4dcd162c5d607845a2f7abd1e2eb266dbec2..9f50f2449ee7660f78231f696bf8a372b1bd52a6 100644 |
--- a/src/animator/SkDrawEmboss.cpp |
+++ b/src/animator/SkDrawEmboss.cpp |
@@ -29,6 +29,6 @@ SkDrawEmboss::SkDrawEmboss() : fSigma(-1) { |
SkMaskFilter* SkDrawEmboss::getMaskFilter() { |
if (fSigma < 0 || fDirection.count() !=3) |
return nullptr; |
- return SkBlurMaskFilter::CreateEmboss(fSigma, fDirection.begin(), |
- fAmbient, fSpecular); |
+ return SkBlurMaskFilter::MakeEmboss(fSigma, fDirection.begin(), |
+ fAmbient, fSpecular).release(); |
} |