Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(432)

Unified Diff: src/utils/SkParseColor.cpp

Issue 227043006: Fixed Skia compilation error with strict clang. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698