DescriptionIntroduce ASSERT_ENABLED macro.
We have ASSERT_DISABLED macro, and it is typically used as
#if !ASSERT_DISABLED
...
#endif
Double negative is not good for readability. We can write it with ASSERT_ENABLED
as following:
#if ASSERT_ENABLED
...
#endif
TEST=none; no behavior changes
BUG=
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170280
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|