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

Unified Diff: tools/LazyDecodeBitmap.cpp

Issue 111713002: Sk_API for SkImageGenerator and SkInstallDiscardablePixelRef (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: move friend decl Created 7 years 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
« src/lazy/SkDiscardablePixelRef.cpp ('K') | « tests/DrawBitmapRectTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/LazyDecodeBitmap.cpp
diff --git a/tools/LazyDecodeBitmap.cpp b/tools/LazyDecodeBitmap.cpp
index 9e850e5753b6b26f6b67396abd480be8dba32e63..9f43be065047106c46a026205e932a960dd0843b 100644
--- a/tools/LazyDecodeBitmap.cpp
+++ b/tools/LazyDecodeBitmap.cpp
@@ -10,7 +10,7 @@
#include "SkData.h"
#include "SkDecodingImageGenerator.h"
#include "SkDiscardableMemoryPool.h"
-#include "SkDiscardablePixelRef.h"
+#include "SkImageGenerator.h"
#include "SkForceLinking.h"
#include "SkCommandLineFlags.h"
@@ -43,5 +43,5 @@ bool sk_tools::LazyDecodeBitmap(const void* src,
// how to do switching with SkDiscardableMemory.
pool = SkGetGlobalDiscardableMemoryPool();
}
- return SkDiscardablePixelRef::Install(gen.detach(), dst, pool);
+ return SkInstallDiscardablePixelRef(gen.detach(), dst, pool);
}
« src/lazy/SkDiscardablePixelRef.cpp ('K') | « tests/DrawBitmapRectTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698