DescriptionUse ILLEGAL_MODE macro to silence clang error.
This fixes the following clang error:
../../tests/XfermodeTest.cpp:43:44: error: comparison of constant -1 with expression of type 'SkXfermode::Mode' is always false [-Werror,-Wtautological-constant-out-of-range-compare]
REPORTER_ASSERT(reporter, reportedMode == -1);
~~~~~~~~~~~~ ^ ~~
R=vandebo@chromium.org,reed@google.com
Committed: https://code.google.com/p/skia/source/detail?r=8692
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|