Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Unified Diff: tests/BitmapTest.cpp

Issue 110223005: Fix win7 BitmapTest (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
}
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698