commit | 5b071782585024bd75a203f3cde0429bfb7ec99d | [log] [tgz] |
---|---|---|
author | Ben Wagner <bungeman@google.com> | Mon Aug 28 15:06:57 2017 -0400 |
committer | Ben Wagner <bungeman@google.com> | Mon Aug 28 19:09:19 2017 +0000 |
tree | 989cc282425cab780a6c79faa7fcbf9ca4b57e2a | |
parent | 581e756653c95e0f77b9c85f2726249bd1726c21 [diff] [blame] |
Undo unwanted change to SkTypes.h. This was undone in an editor, but didn't get commited. Change-Id: Id410de0a066b3fe65119d0b72c6f29a1f91d1ebb Reviewed-on: https://skia-review.googlesource.com/39700 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Ben Wagner <bungeman@google.com>
diff --git a/include/core/SkTypes.h b/include/core/SkTypes.h index 9887c91..b453249 100644 --- a/include/core/SkTypes.h +++ b/include/core/SkTypes.h
@@ -216,7 +216,7 @@ /** Returns 0 or 1 based on the condition */ -#define SkToBool(cond) (bool(cond)) +#define SkToBool(cond) ((cond) != 0) #define SK_MaxS16 32767 #define SK_MinS16 -32767