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

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

Issue 10946031: Modifies GetPlatformImageColor() to check the color of a given point. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix compile. Created 8 years, 3 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
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 4560ce61e0658f944b65002834a8b54503c40733..114a9595456ca59d7b4714c2704e88139116dbbc 100644
--- a/ui/gfx/image/image_unittest_util.h
+++ b/ui/gfx/image/image_unittest_util.h
@@ -43,7 +43,7 @@ gfx::Image::RepresentationType GetPlatformRepresentationType();
PlatformImage ToPlatformType(const gfx::Image& image);
PlatformImage CopyPlatformType(const gfx::Image& image);
-SkColor GetPlatformImageColor(PlatformImage image);
+SkColor GetPlatformImageColor(PlatformImage image, int x, int y);
void CheckColor(SkColor color, bool is_red);
bool IsPlatformImageValid(PlatformImage image);

Powered by Google App Engine
This is Rietveld 408576698