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

Unified Diff: chrome/browser/ui/tests/ui_gfx_image_unittest.mm

Issue 10799014: Add support for PNG representation in gfx::Image (Closed) Base URL: http://git.chromium.org/chromium/src.git@bookmark-sync
Patch Set: Created 8 years, 4 months 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 | ui/gfx/image/image.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/tests/ui_gfx_image_unittest.mm
diff --git a/chrome/browser/ui/tests/ui_gfx_image_unittest.mm b/chrome/browser/ui/tests/ui_gfx_image_unittest.mm
index 3c342dbb7a189f652ca95f80d3e85066644cc4f7..921643679671eb0321424018342f3a91dec1e351 100644
--- a/chrome/browser/ui/tests/ui_gfx_image_unittest.mm
+++ b/chrome/browser/ui/tests/ui_gfx_image_unittest.mm
@@ -30,8 +30,8 @@ TEST_F(UiGfxImageTest, CheckColor) {
CGFloat components[4] = { 0 };
[color getComponents:components];
- EXPECT_GT(components[0], 0.95);
- EXPECT_LT(components[1], 0.05);
+ EXPECT_LT(components[0], 0.05);
+ EXPECT_GT(components[1], 0.95);
EXPECT_LT(components[2], 0.05);
EXPECT_GT(components[3], 0.95);
}
« no previous file with comments | « no previous file | ui/gfx/image/image.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698