Index: tests/KtxTest.cpp |
diff --git a/tests/KtxTest.cpp b/tests/KtxTest.cpp |
index 499db6ab484ecfa901941869895bbb6ff4e721d3..23c1d709001dc0bd6eb706c0c8194d69682ef81b 100644 |
--- a/tests/KtxTest.cpp |
+++ b/tests/KtxTest.cpp |
@@ -8,7 +8,7 @@ |
#include "Resources.h" |
#include "SkBitmap.h" |
#include "SkData.h" |
-#include "SkDecodingImageGenerator.h" |
+#include "SkImageGenerator.h" |
#include "SkForceLinking.h" |
#include "SkImageDecoder.h" |
#include "SkOSFile.h" |
@@ -151,9 +151,7 @@ DEF_TEST(KtxReexportPKM, reporter) { |
} |
bool installDiscardablePixelRefSuccess = |
- SkInstallDiscardablePixelRef( |
- SkDecodingImageGenerator::Create( |
- fileData, SkDecodingImageGenerator::Options()), &etcBitmap); |
+ SkInstallDiscardablePixelRef(fileData, &etcBitmap); |
REPORTER_ASSERT(reporter, installDiscardablePixelRefSuccess); |
// Write the bitmap out to a KTX file. |