Index: src/utils/SkParseColor.cpp |
diff --git a/src/utils/SkParseColor.cpp b/src/utils/SkParseColor.cpp |
index 26ad8b7b1cfa7ed0827b620af7123d43bd91b832..989a6091ef8197bbcd5866a2be5cad38797c0d23 100644 |
--- a/src/utils/SkParseColor.cpp |
+++ b/src/utils/SkParseColor.cpp |
@@ -513,9 +513,9 @@ void SkParse::TestColor() { |
size_t len = strlen(nameRGB.name); |
memcpy(bad, nameRGB.name, len); |
bad[len - 1] -= 1; |
- SkASSERT(FindColor(bad, &result) == false); |
+ SkASSERT(FindColor(bad, &result) == NULL); |
bad[len - 1] += 2; |
- SkASSERT(FindColor(bad, &result) == false); |
+ SkASSERT(FindColor(bad, &result) == NULL); |
} |
result = SK_ColorBLACK; |
SkASSERT(FindColor("lightGrey", &result)); |