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

Unified Diff: ui/gfx/image/image_unittest_util.h

Issue 11722012: Add fuzziness to checking whether two SkBitmaps are equal for ImageTest.* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 12 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 | « ui/gfx/image/image_unittest.cc ('k') | ui/gfx/image/image_unittest_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/image/image_unittest_util.h
diff --git a/ui/gfx/image/image_unittest_util.h b/ui/gfx/image/image_unittest_util.h
index 756dbdd9adcaa2d15c32cb2fd183b763797fd03c..c338d20360115b9d4f05c6e756d980c84a4feaf7 100644
--- a/ui/gfx/image/image_unittest_util.h
+++ b/ui/gfx/image/image_unittest_util.h
@@ -72,7 +72,7 @@ PlatformImage ToPlatformType(const gfx::Image& image);
PlatformImage CopyPlatformType(const gfx::Image& image);
SkColor GetPlatformImageColor(PlatformImage image, int x, int y);
-void CheckColor(SkColor color, bool is_red);
+void CheckColors(SkColor color1, SkColor color2);
void CheckIsTransparent(SkColor color);
bool IsPlatformImageValid(PlatformImage image);
« no previous file with comments | « ui/gfx/image/image_unittest.cc ('k') | ui/gfx/image/image_unittest_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698