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 fb471b9a3c0806eb5d95ab49452a90c3e124270c..e617f26fa38aabddc07bb6a911a81426c6cf8033 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 |