From c280d112a820fce69bf6bac4dafdbb99d84077e9 Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Wed, 5 Jan 2011 16:07:35 +0000 Subject: revert to DeviceRGB colorspace by default, which was changed accidentially in rev. 637 git-svn-id: http://skia.googlecode.com/svn/trunk@675 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/utils/mac/SkCreateCGImageRef.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/mac/SkCreateCGImageRef.cpp b/src/utils/mac/SkCreateCGImageRef.cpp index a1d7cc4eef..f4bda45c9a 100644 --- a/src/utils/mac/SkCreateCGImageRef.cpp +++ b/src/utils/mac/SkCreateCGImageRef.cpp @@ -91,7 +91,7 @@ CGImageRef SkCreateCGImageRefWithColorspace(const SkBitmap& bm, bool releaseColorSpace = false; if (NULL == colorSpace) { - colorSpace = CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB); + colorSpace = CGColorSpaceCreateDeviceRGB(); releaseColorSpace = true; } -- cgit v1.2.3