Index: tests/RefCntTest.cpp |
diff --git a/tests/RefCntTest.cpp b/tests/RefCntTest.cpp |
index e3f41bdd5d5fc78877aa0d710fa3e7e9658f05b9..e9d582d809e28766b33d2a4e1bff2aeddb8d6d97 100644 |
--- a/tests/RefCntTest.cpp |
+++ b/tests/RefCntTest.cpp |
@@ -120,7 +120,7 @@ public: |
}; |
static sk_sp<Effect> Create() { |
- return sk_sp<Effect>(new Effect); |
+ return sk_make_sp<Effect>(); |
} |
class Paint { |