Index: tools/flatten.cpp |
diff --git a/tools/flatten.cpp b/tools/flatten.cpp |
index 80579df48f3a8692fd51c580d6d17a8bcfea4a24..8ba20929fb0f6c79591287991280eab339c5d804 100644 |
--- a/tools/flatten.cpp |
+++ b/tools/flatten.cpp |
@@ -21,7 +21,7 @@ __SK_FORCE_IMAGE_DECODER_LINKING; |
static bool lazy_decode_bitmap(const void* src, size_t size, SkBitmap* dst) { |
SkAutoTUnref<SkData> encoded(SkData::NewWithCopy(src, size)); |
- return encoded && SkInstallDiscardablePixelRef(encoded, dst); |
+ return encoded && SkDEPRECATED_InstallDiscardablePixelRef(encoded, dst); |
} |
int main(int argc, char** argv) { |