Commit 3ced98f4 authored by jeremy@chromium.org's avatar jeremy@chromium.org

Sandbox warmup - localtime().

Review URL: http://codereview.chromium.org/28120

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10457 0039d316-1c4b-4281-b951-d872f2087c98
parent 0676a96a
......@@ -47,6 +47,10 @@ void RendererMainPlatformDelegate::PlatformInitialize() {
NSColor *color = [NSColor controlTextColor];
[color colorUsingColorSpaceName:NSCalibratedRGBColorSpace];
// Warm up localtime().
time_t tv = {0};
localtime(&tv);
#if 0
// Note: by default, Cocoa is NOT thread safe. Use of NSThreads
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment