Index: tests/PathOpsSkpClipTest.cpp |
diff --git a/tests/PathOpsSkpClipTest.cpp b/tests/PathOpsSkpClipTest.cpp |
index 3cc788f13c3626350d2206a7e3a973a02ecf61df..8afcd1afd58bbd86368385c39086ef4bd6af6624 100755 |
--- a/tests/PathOpsSkpClipTest.cpp |
+++ b/tests/PathOpsSkpClipTest.cpp |
@@ -426,7 +426,7 @@ static void drawPict(SkPicture* pic, SkCanvas* canvas, int scale) { |
static void writePict(const SkBitmap& bitmap, const char* outDir, const char* pngName) { |
SkString outFile = get_sum_path(outDir); |
outFile.appendf("%s%s", PATH_SLASH, pngName); |
- if (!SkImageEncoder::EncodeFile(outFile.c_str(), bitmap, SkImageEncoder::kPNG_Type, 100)) { |
+ if (!SkImageEncoder::EncodeFile(outFile.c_str(), bitmap, kPNG_SkEncodedFormat, 100)) { |
SkDebugf("unable to encode gr %s (width=%d height=%d)\n", pngName, |
bitmap.width(), bitmap.height()); |
} |