Index: src/effects/SkLumaColorFilter.cpp |
diff --git a/src/effects/SkLumaColorFilter.cpp b/src/effects/SkLumaColorFilter.cpp |
index 0ca6342d563a6340a4f918bc17d8faa9aeea0293..18b2485a30ced845ad912109988cfdbe8458974c 100644 |
--- a/src/effects/SkLumaColorFilter.cpp |
+++ b/src/effects/SkLumaColorFilter.cpp |
@@ -37,7 +37,9 @@ |
} |
} |
-SkColorFilter* SkLumaColorFilter::Create() { return new SkLumaColorFilter; } |
+sk_sp<SkColorFilter> SkLumaColorFilter::Make() { |
+ return sk_sp<SkColorFilter>(new SkLumaColorFilter); |
+} |
SkLumaColorFilter::SkLumaColorFilter() : INHERITED() {} |