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
This commit is contained in:
halcanary@google.com 2013-12-13 19:25:21 +00:00
parent 4428734907
commit 2af6c1204d

View File

@ -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());
}
}
}