summaryrefslogtreecommitdiffstats
path: root/ui/gfx/image/image_unittest_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx/image/image_unittest_util.h')
-rw-r--r--ui/gfx/image/image_unittest_util.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/ui/gfx/image/image_unittest_util.h b/ui/gfx/image/image_unittest_util.h
index fb471b9..e617f26 100644
--- a/ui/gfx/image/image_unittest_util.h
+++ b/ui/gfx/image/image_unittest_util.h
@@ -18,10 +18,10 @@ typedef NSImage* PlatformImage;
#elif defined(TOOLKIT_GTK)
typedef GdkPixbuf* PlatformImage;
#else
-typedef const SkBitmap* PlatformImage;
+typedef const SkBitmap PlatformImage;
#endif
-SkBitmap* CreateBitmap(int width, int height);
+const SkBitmap CreateBitmap(int width, int height);
gfx::Image CreateImage();
@@ -35,6 +35,10 @@ gfx::Image::RepresentationType GetPlatformRepresentationType();
PlatformImage ToPlatformType(const gfx::Image& image);
+bool IsPlatformImageValid(PlatformImage image);
+
+bool PlatformImagesEqual(PlatformImage image1, PlatformImage image2);
+
} // namespace test
} // namespace gfx