Index: tests/PictureTest.cpp |
diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp |
index 45edc715efc2b67ce421b8194559469418586141..dee24e367ee542f1d2ae718767c74f33c7746454 100644 |
--- a/tests/PictureTest.cpp |
+++ b/tests/PictureTest.cpp |
@@ -887,7 +887,7 @@ static void test_bitmap_with_encoded_data(skiatest::Reporter* reporter) { |
SkAutoDataUnref data(wStream.copyToData()); |
SkBitmap bm; |
- bool installSuccess = SkInstallDiscardablePixelRef(data, &bm); |
+ bool installSuccess = SkDEPRECATED_InstallDiscardablePixelRef(data, &bm); |
REPORTER_ASSERT(reporter, installSuccess); |
// Write both bitmaps to pictures, and ensure that the resulting data streams are the same. |