Index: chrome/renderer/renderer_main_platform_delegate_mac.mm |
diff --git a/chrome/renderer/renderer_main_platform_delegate_mac.mm b/chrome/renderer/renderer_main_platform_delegate_mac.mm |
index 94958f132344649be32baf7281f0002bbe93117f..4705aea780834ebd76e868b25e8b877ebf26f8c7 100644 |
--- a/chrome/renderer/renderer_main_platform_delegate_mac.mm |
+++ b/chrome/renderer/renderer_main_platform_delegate_mac.mm |
@@ -47,7 +47,8 @@ void RendererMainPlatformDelegate::PlatformInitialize() { |
NSColor *color = [NSColor controlTextColor]; |
[color colorUsingColorSpaceName:NSCalibratedRGBColorSpace]; |
- time_t tv = time(NULL); |
+ // Warm up localtime(). |
brettw
2009/02/25 18:00:20
I don't understand why this is here at all, and yo
|
+ time_t tv = {0}; |
John Grabowski
2009/02/25 18:29:47
I think I understand why the warm-up (sandbox so w
|
localtime(&tv); |
#if 0 |