Index: src/core/SkPictureShader.cpp |
diff --git a/src/core/SkPictureShader.cpp b/src/core/SkPictureShader.cpp |
index 80d5974b057e1de0428d10267bfee60d5706cf64..906313d819f615b14325b6b0c2ad225b2ef5c7d1 100644 |
--- a/src/core/SkPictureShader.cpp |
+++ b/src/core/SkPictureShader.cpp |
@@ -219,7 +219,7 @@ SkShader* SkPictureShader::refBitmapShader(const SkMatrix& viewMatrix, const SkM |
tileMatrix.setRectToRect(fTile, SkRect::MakeIWH(tileSize.width(), tileSize.height()), |
SkMatrix::kFill_ScaleToFit); |
SkBitmap bm; |
- if (!SkInstallDiscardablePixelRef( |
+ if (!SkDEPRECATED_InstallDiscardablePixelRef( |
SkImageGenerator::NewFromPicture(tileSize, fPicture, &tileMatrix, nullptr), &bm)) { |
return nullptr; |
} |