aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PixelRefTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/PixelRefTest.cpp')
-rw-r--r--tests/PixelRefTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PixelRefTest.cpp b/tests/PixelRefTest.cpp
index 683e249626..487e5195f3 100644
--- a/tests/PixelRefTest.cpp
+++ b/tests/PixelRefTest.cpp
@@ -69,7 +69,7 @@ private:
DEF_TEST(PixelRef_GenIDChange, r) {
SkImageInfo info = SkImageInfo::MakeN32Premul(10, 10);
- sk_sp<SkPixelRef> pixelRef = SkMallocPixelRef::MakeAllocate(info, 0, nullptr);
+ sk_sp<SkPixelRef> pixelRef(SkMallocPixelRef::NewAllocate(info, 0, nullptr));
// Register a listener.
int count = 0;