aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Matt Sarett <msarett@google.com>2017-05-05 15:07:41 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-05-05 19:31:41 +0000
commit41a8ec060eedbeb8e497584bbae0856d564e76fe (patch)
tree767004d2be896a6e108348cc11a44cd49d847620
parent9444bdd32b4a3dcd1c5ac4099adade1b5ba167b7 (diff)
Fix implicit ptr to bool
Bug: skia: Change-Id: I11ce7858306dfe05162aa84a5f862b1b01c2cee9 Reviewed-on: https://skia-review.googlesource.com/15637 Reviewed-by: Leon Scroggins <scroggo@google.com> Commit-Queue: Matt Sarett <msarett@google.com>
-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;
}
}