diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/LazyDecodeBitmap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/LazyDecodeBitmap.cpp b/tools/LazyDecodeBitmap.cpp index f5ff1477d3..9a4a36ffe8 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" @@ -44,5 +44,5 @@ bool sk_tools::LazyDecodeBitmap(const void* src, // Only meaningful if platform has a default discardable // memory implementation that differs from the global DM pool. } - return SkDiscardablePixelRef::Install(gen.detach(), dst, pool); + return SkInstallDiscardablePixelRef(gen.detach(), dst, pool); } |