Index: chrome/browser/ui/cocoa/tabpose_window.mm |
diff --git a/chrome/browser/ui/cocoa/tabpose_window.mm b/chrome/browser/ui/cocoa/tabpose_window.mm |
index b9e4a3d55b4ffd8350975d2fc6b3e327327191e2..98d861172964984e94dbe28a2b1e02783753ee8f 100644 |
--- a/chrome/browser/ui/cocoa/tabpose_window.mm |
+++ b/chrome/browser/ui/cocoa/tabpose_window.mm |
@@ -177,8 +177,9 @@ void ThumbnailLoader::LoadThumbnail() { |
- (void)setThumbnail:(const SkBitmap&)bitmap { |
// SkCreateCGImageRef() holds on to |bitmaps|'s memory, so this doesn't |
- // create a copy. |
- thumbnail_.reset(SkCreateCGImageRef(bitmap)); |
+ // create a copy. The renderer always draws data in the system colorspace. |
+ thumbnail_.reset(SkCreateCGImageRefWithColorspace( |
+ bitmap, base::mac::GetSystemColorSpace())); |
loader_ = NULL; |
[self setNeedsDisplay]; |
} |