Index: src/images/SkDecodingImageGenerator.cpp |
diff --git a/src/images/SkDecodingImageGenerator.cpp b/src/images/SkDecodingImageGenerator.cpp |
index 212104976f410dc8776170ea0297413d1d62e59c..a833c636ff9c8d30df1c1ade660743ea8b2a47d2 100644 |
--- a/src/images/SkDecodingImageGenerator.cpp |
+++ b/src/images/SkDecodingImageGenerator.cpp |
@@ -7,8 +7,8 @@ |
#include "SkDecodingImageGenerator.h" |
#include "SkData.h" |
-#include "SkDiscardablePixelRef.h" |
#include "SkImageDecoder.h" |
+#include "SkImageGenerator.h" |
#include "SkImagePriv.h" |
#include "SkStream.h" |
@@ -191,7 +191,7 @@ bool SkDecodingImageGenerator::Install(SkData* data, SkBitmap* dst, |
SkASSERT(data != NULL); |
SkASSERT(dst != NULL); |
SkImageGenerator* gen(SkNEW_ARGS(SkDecodingImageGenerator, (data))); |
- return SkDiscardablePixelRef::Install(gen, dst, factory); |
+ return SkInstallDiscardablePixelRef(gen, dst, factory); |
} |
bool SkDecodingImageGenerator::Install(SkStreamRewindable* stream, |
@@ -204,5 +204,5 @@ bool SkDecodingImageGenerator::Install(SkStreamRewindable* stream, |
return false; |
} |
SkImageGenerator* gen(SkNEW_ARGS(SkDecodingImageGenerator, (stream))); |
- return SkDiscardablePixelRef::Install(gen, dst, factory); |
+ return SkInstallDiscardablePixelRef(gen, dst, factory); |
} |