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

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

Issue 10830207: Add support for PNG representation in gfx::Image (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Missed small change from previous CL. 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 | tools/valgrind/memcheck/suppressions_mac.txt » ('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 b5ebfb6343b33ec3b43fdbac65aec9ccc98e4225..8f11203c7d82daee6a06ee5819630be4397ed26a 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 | tools/valgrind/memcheck/suppressions_mac.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698