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

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

Issue 10332163: Revert 137075 - Get rid of Image::Image(SkBitmap*) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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
===================================================================
--- ui/gfx/image/image_unittest_util.h (revision 137075)
+++ ui/gfx/image/image_unittest_util.h (working copy)
@@ -18,10 +18,10 @@
#elif defined(TOOLKIT_GTK)
typedef GdkPixbuf* PlatformImage;
#else
-typedef const SkBitmap PlatformImage;
+typedef const SkBitmap* PlatformImage;
#endif
-const SkBitmap CreateBitmap(int width, int height);
+SkBitmap* CreateBitmap(int width, int height);
gfx::Image CreateImage();
@@ -35,10 +35,6 @@
PlatformImage ToPlatformType(const gfx::Image& image);
-bool IsPlatformImageValid(PlatformImage image);
-
-bool PlatformImagesEqual(PlatformImage image1, PlatformImage image2);
-
} // namespace test
} // namespace gfx
« 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