aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tests/EncodeTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/EncodeTest.cpp b/tests/EncodeTest.cpp
index a3b39f23c5..7be0f6cdbf 100644
--- a/tests/EncodeTest.cpp
+++ b/tests/EncodeTest.cpp
@@ -21,7 +21,7 @@ static bool encode(SkEncodedImageFormat format, SkWStream* dst, const SkPixmap&
case SkEncodedImageFormat::kPNG:
return SkPngEncoder::Encode(dst, src, SkPngEncoder::Options());
default:
- return nullptr;
+ return false;
}
}