Index: chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm |
diff --git a/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm b/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm |
index ef3997d2ecb0104d0bd6ade5d0070c88a94d2f98..dfb04d24ee697530b224a93a6f8a18e1aa4cee66 100644 |
--- a/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm |
+++ b/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm |
@@ -172,8 +172,7 @@ NSImage* CreateImageWithSize(NSSize size, |
samplesPerPixel:4 |
hasAlpha:YES |
isPlanar:NO |
- colorSpaceName:NSCalibratedRGBColorSpace |
- bitmapFormat:NSAlphaFirstBitmapFormat |
sail
2013/01/04 22:03:35
Does this help because it prevents a format conver
Nico
2013/01/04 22:05:55
I think this is the default, I omitted this part f
|
+ colorSpaceName:NSDeviceRGBColorSpace |
sail
2013/01/04 22:03:35
Does this help because it now matches the destinat
Nico
2013/01/04 22:05:55
I don't know if it helps. Resource images are load
sail
2013/01/04 23:51:33
ok, sounds like best practice would be to create a
|
bytesPerRow:0 |
bitsPerPixel:0]; |
[bmpImageRep setSize:size]; |