aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-01-05 16:07:35 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-01-05 16:07:35 +0000
commitc280d112a820fce69bf6bac4dafdbb99d84077e9 (patch)
treed5920f28eb48c4afe6358728daffbb1148de4b9b
parent1fcd51e6b2a210a37b9b9c2cfb82e1be7196e42a (diff)
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
-rw-r--r--src/utils/mac/SkCreateCGImageRef.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}