Index: tests/PDFJpegEmbedTest.cpp |
diff --git a/tests/PDFJpegEmbedTest.cpp b/tests/PDFJpegEmbedTest.cpp |
index 422b59a18f03ff8b87107e5cc85d8f6b17517bf6..beb949dfc949aeaca3b572a9764958d01c8bc630 100644 |
--- a/tests/PDFJpegEmbedTest.cpp |
+++ b/tests/PDFJpegEmbedTest.cpp |
@@ -10,7 +10,6 @@ |
#include "SkImageGenerator.h" |
#include "SkData.h" |
#include "SkStream.h" |
-#include "SkDecodingImageGenerator.h" |
#include "Resources.h" |
#include "Test.h" |
@@ -19,9 +18,7 @@ |
static SkBitmap bitmap_from_data(SkData* data) { |
SkASSERT(data); |
SkBitmap bm; |
- SkInstallDiscardablePixelRef( |
- SkDecodingImageGenerator::Create( |
- data, SkDecodingImageGenerator::Options()), &bm); |
+ SkInstallDiscardablePixelRef(data, &bm); |
return bm; |
} |