Index: tests/JpegTest.cpp |
diff --git a/tests/JpegTest.cpp b/tests/JpegTest.cpp |
index 8828926ef9e5d70384272cf8fc748c4c3c60109d..32c384f0a4622380044fd4d10b390f97820030d2 100644 |
--- a/tests/JpegTest.cpp |
+++ b/tests/JpegTest.cpp |
@@ -449,7 +449,7 @@ DEF_TEST(Jpeg, reporter) { |
#if JPEG_TEST_WRITE_TO_FILE_FOR_DEBUGGING |
// Check to see that the resulting bitmap is nice |
bool writeSuccess = (!(bm8888.empty())) && SkImageEncoder::EncodeFile( |
- "HalfOfAJpeg.png", bm8888, SkImageEncoder::kPNG_Type, 100); |
+ "HalfOfAJpeg.png", bm8888, kPNG_SkEncodedFormat, 100); |
SkASSERT(writeSuccess); |
#endif |
} |