aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/gm_expectations.h
diff options
context:
space:
mode:
Diffstat (limited to 'gm/gm_expectations.h')
-rw-r--r--gm/gm_expectations.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/gm_expectations.h b/gm/gm_expectations.h
index 029a533c62..6767b90f51 100644
--- a/gm/gm_expectations.h
+++ b/gm/gm_expectations.h
@@ -147,10 +147,10 @@ namespace skiagm {
* If this Expectation is based on a single SkBitmap, return a
* pointer to that SkBitmap. Otherwise (if the Expectation is
* empty, or if it was based on a list of checksums rather
- * than a single bitmap), returns NULL.
+ * than a single bitmap), returns nullptr.
*/
const SkBitmap *asBitmap() const {
- return (kUnknown_SkColorType == fBitmap.colorType()) ? NULL : &fBitmap;
+ return (kUnknown_SkColorType == fBitmap.colorType()) ? nullptr : &fBitmap;
}
/**