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

Unified Diff: trunk/src/content/common/sandbox_mac.mm

Issue 183743006: Revert 253994 "[Mac] Remove NSApplication from the renderer." (Closed) Base URL: svn://svn.chromium.org/chrome/
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 | trunk/src/content/content.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/content/common/sandbox_mac.mm
===================================================================
--- trunk/src/content/common/sandbox_mac.mm (revision 254033)
+++ trunk/src/content/common/sandbox_mac.mm (working copy)
@@ -277,6 +277,11 @@
CGColorSpaceCreateWithName(kCGColorSpaceGenericCMYK));
}
+ { // [-NSColor colorUsingColorSpaceName] - 10.5.6
+ 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 | trunk/src/content/content.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698