Index: gm/factory.cpp |
diff --git a/gm/factory.cpp b/gm/factory.cpp |
index 66cb65ee2430cf49fd9db01f7294c64e78aaf29a..4d36574daa5b9f1b6e11d9dbd6394ec5a3efcb2f 100644 |
--- a/gm/factory.cpp |
+++ b/gm/factory.cpp |
@@ -36,7 +36,8 @@ protected: |
// bitmap is unlocked. |
SkAutoTUnref<SkDiscardableMemoryPool> pool( |
SkDiscardableMemoryPool::Create(1)); |
- SkAssertResult(SkInstallDiscardablePixelRef(SkImageGenerator::NewFromEncoded(data), |
+ SkAssertResult(SkDEPRECATED_InstallDiscardablePixelRef( |
+ SkImageGenerator::NewFromEncoded(data), |
nullptr, &fBitmap, pool)); |
} |
} |