Chromium Code Reviews| Index: tests/BitmapTest.cpp |
| diff --git a/tests/BitmapTest.cpp b/tests/BitmapTest.cpp |
| index a6859fabf004c276f91fb22a14735ebe59972a14..250b6da32c2aa748db19d8996a6dfc3d2384ec06 100644 |
| --- a/tests/BitmapTest.cpp |
| +++ b/tests/BitmapTest.cpp |
| @@ -24,7 +24,7 @@ DEF_TEST(Bitmap, reporter) { |
| if (setConf) { |
| REPORTER_ASSERT(reporter, bm.allocPixels(NULL)); |
| } |
| - REPORTER_ASSERT(reporter, (width & height) != bm.empty()); |
| + REPORTER_ASSERT(reporter, SkToBool(width & height) != bm.empty()); |
| } |
| } |
| } |