Index: tests/ImageDecodingTest.cpp |
diff --git a/tests/ImageDecodingTest.cpp b/tests/ImageDecodingTest.cpp |
index 5764ffbc39ef76c9f19423b52a6e36ed4e1d01bf..89d18abaf4389d4952e4b8b6580d8f1bbb2e3604 100644 |
--- a/tests/ImageDecodingTest.cpp |
+++ b/tests/ImageDecodingTest.cpp |
@@ -194,7 +194,7 @@ static void test_unpremul(skiatest::Reporter* reporter) { |
#ifdef SK_DEBUG |
// Create a stream containing a bitmap encoded to Type type. |
-static SkStream* create_image_stream(SkImageEncoder::Type type) { |
+static SkMemoryStream* create_image_stream(SkImageEncoder::Type type) { |
SkBitmap bm; |
const int size = 50; |
bm.setConfig(SkBitmap::kARGB_8888_Config, size, size); |
@@ -233,7 +233,7 @@ static void test_stream_life() { |
}; |
for (size_t i = 0; i < SK_ARRAY_COUNT(gTypes); ++i) { |
//SkDebugf("encoding to %i\n", i); |
- SkAutoTUnref<SkStream> stream(create_image_stream(gTypes[i])); |
+ SkAutoTUnref<SkMemoryStream> stream(create_image_stream(gTypes[i])); |
if (NULL == stream.get()) { |
SkDebugf("no stream\n"); |
continue; |