Index: tests/SkpSkGrTest.cpp |
diff --git a/tests/SkpSkGrTest.cpp b/tests/SkpSkGrTest.cpp |
index 8cc7ec4a2d98817a7b569245dd91e890435862dd..67a6b26b2b81de622a8d5da057ba85b012c32cfb 100644 |
--- a/tests/SkpSkGrTest.cpp |
+++ b/tests/SkpSkGrTest.cpp |
@@ -16,7 +16,6 @@ |
#include "SkColor.h" |
#include "SkDevice.h" |
#include "SkGraphics.h" |
-#include "SkImageDecoder.h" |
#include "SkImageEncoder.h" |
#include "SkOSFile.h" |
#include "SkPicture.h" |
@@ -400,7 +399,7 @@ void TestResult::testOne() { |
wStream.write(&bytes[0], length); |
wStream.flush(); |
} |
- pic = SkPicture::CreateFromStream(&stream, &SkImageDecoder::DecodeMemory); |
+ pic = SkPicture::CreateFromStream(&stream); |
if (!pic) { |
SkDebugf("unable to decode %s\n", fFilename); |
goto finish; |