Index: tools/debugger/SkOverdrawMode.cpp |
diff --git a/tools/debugger/SkOverdrawMode.cpp b/tools/debugger/SkOverdrawMode.cpp |
index 3b695eca267f8fb2365ea9ab91452782ab8a67a8..7eee387b091922108ddf3084ab78ada99bf96dbc 100644 |
--- a/tools/debugger/SkOverdrawMode.cpp |
+++ b/tools/debugger/SkOverdrawMode.cpp |
@@ -317,7 +317,7 @@ SkFlattenable* SkOverdrawXfermode::CreateProc(SkReadBuffer& buffer) { |
return Create(); |
} |
-SkXfermode* SkOverdrawMode::Create() { return new SkOverdrawXfermode; } |
+sk_sp<SkXfermode> SkOverdrawMode::Make() { return sk_make_sp<SkOverdrawXfermode>(); } |
SK_DEFINE_FLATTENABLE_REGISTRAR_GROUP_START(SkOverdrawMode) |
SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkOverdrawXfermode) |