diff options
author | Matt Sarett <msarett@google.com> | 2017-05-05 15:07:41 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-05-05 19:31:41 +0000 |
commit | 41a8ec060eedbeb8e497584bbae0856d564e76fe (patch) | |
tree | 767004d2be896a6e108348cc11a44cd49d847620 | |
parent | 9444bdd32b4a3dcd1c5ac4099adade1b5ba167b7 (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.cpp | 2 |
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; } } |