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

Unified Diff: content/common/sandbox_mac.mm

Issue 183803008: Merge 254380 "[Mac] Re-add the NSColor sandbox warmup." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1867/src/
Patch Set: Created 6 years, 10 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: content/common/sandbox_mac.mm
===================================================================
--- content/common/sandbox_mac.mm (revision 254406)
+++ content/common/sandbox_mac.mm (working copy)
@@ -277,6 +277,12 @@
CGColorSpaceCreateWithName(kCGColorSpaceGenericCMYK));
}
+ { // -[NSColor colorUsingColorSpaceName] - 10.5.6
+ // Used in ppapi processes only. http://crbug.com/348304
+ NSColor* color = [NSColor controlTextColor];
+ [color colorUsingColorSpaceName:NSCalibratedRGBColorSpace];
+ }
+
{ // localtime() - 10.5.6
time_t tv = {0};
localtime(&tv);
« 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