Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1009)

Unified Diff: tools/flatten.cpp

Issue 1372593002: SkInstallDiscardablePixelRef is deprecated, enforce that (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/LazyDecodeBitmap.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « tools/LazyDecodeBitmap.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698