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

Unified Diff: ui/gfx/image_unittest_util.cc

Issue 7055010: Rename internal gfx::Image members to be less confusing with Cocoa types. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix mac Created 9 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_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/image_unittest_util.cc
diff --git a/ui/gfx/image_unittest_util.cc b/ui/gfx/image_unittest_util.cc
index b996a86093b153d4117ac46d55effe14a4414183..bb1265bebd17cbbcd56311f387a529c38e3df5e1 100644
--- a/ui/gfx/image_unittest_util.cc
+++ b/ui/gfx/image_unittest_util.cc
@@ -43,11 +43,11 @@ PlatformImage CreatePlatformImage() {
gfx::Image::RepresentationType GetPlatformRepresentationType() {
#if defined(OS_MACOSX)
- return gfx::Image::kNSImageRep;
+ return gfx::Image::kImageRepCocoa;
#elif defined(OS_LINUX) && !defined(TOOLKIT_VIEWS)
- return gfx::Image::kGdkPixbufRep;
+ return gfx::Image::kImageRepGdk;
#else
- return gfx::Image::kSkBitmapRep;
+ return gfx::Image::kImageRepSkia;
#endif
}
« no previous file with comments | « ui/gfx/image_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698