Index: src/ports/SkImageDecoder_CG.cpp |
diff --git a/src/ports/SkImageDecoder_CG.cpp b/src/ports/SkImageDecoder_CG.cpp |
index 8545ac8678a26ca0a77ac54c8113e07cdb6cade1..8bf30d2cc9b1ba15978fcdfd7d2f7e4631ebe00e 100644 |
--- a/src/ports/SkImageDecoder_CG.cpp |
+++ b/src/ports/SkImageDecoder_CG.cpp |
@@ -11,7 +11,7 @@ |
#include "SkImageEncoder.h" |
#include "SkMovie.h" |
#include "SkStream.h" |
-#include "SkStreamHelpers.h" |
+#include "SkStreamPriv.h" |
#include "SkTemplates.h" |
#include "SkUnPreMultiply.h" |
@@ -32,7 +32,7 @@ static void malloc_release_proc(void* info, const void* data, size_t size) { |
static CGDataProviderRef SkStreamToDataProvider(SkStream* stream) { |
// TODO: use callbacks, so we don't have to load all the data into RAM |
SkAutoMalloc storage; |
- const size_t len = CopyStreamToStorage(&storage, stream); |
+ const size_t len = SkCopyStreamToStorage(&storage, stream); |
void* data = storage.detach(); |
return CGDataProviderCreateWithData(data, data, len, malloc_release_proc); |