Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(619)

Unified Diff: tests/JpegTest.cpp

Issue 1018953003: Add SkEncodedFormat, used by SkCodec. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Use a common enum for SkImageEncoder and SkImageDecoder and SkCodec Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
}

Powered by Google App Engine
This is Rietveld 408576698