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

Unified Diff: chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm

Issue 11776006: mac: Attempt to fix startup regression after r174653 more (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 12 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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];
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698