From 2af6c1204de73a2513189007b9623fec0e296dc2 Mon Sep 17 00:00:00 2001 From: "halcanary@google.com" Date: Fri, 13 Dec 2013 19:25:21 +0000 Subject: Fix win7 BitmapTest BUG= R=bungeman@google.com Review URL: https://codereview.chromium.org/110223005 git-svn-id: http://skia.googlecode.com/svn/trunk@12675 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tests/BitmapTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/BitmapTest.cpp') diff --git a/tests/BitmapTest.cpp b/tests/BitmapTest.cpp index a6859fabf0..250b6da32c 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()); } } } -- cgit v1.2.3