Index: content/common/sandbox_mac.mm |
diff --git a/content/common/sandbox_mac.mm b/content/common/sandbox_mac.mm |
index d531f8bfef410a2ca07e051175703ddf4bc03515..12016bc3977b7fcd8c7f5c0249fddf653cfdc29e 100644 |
--- a/content/common/sandbox_mac.mm |
+++ b/content/common/sandbox_mac.mm |
@@ -6,6 +6,7 @@ |
#import <Cocoa/Cocoa.h> |
+#include <CoreFoundation/CFTimeZone.h> |
extern "C" { |
#include <sandbox.h> |
} |
@@ -307,6 +308,11 @@ void Sandbox::SandboxWarmup(int sandbox_type) { |
} |
// Process-type dependent warm-up. |
+ if (sandbox_type == SANDBOX_TYPE_UTILITY) { |
+ // Allow access to local timezones. |
jeremy
2013/08/30 23:02:51
Can you provide a much more detailed comment about
tommycli
2013/08/30 23:14:20
Done.
|
+ CFTimeZoneCopySystem(); |
+ } |
+ |
if (sandbox_type == SANDBOX_TYPE_GPU) { |
// Preload either the desktop GL or the osmesa so, depending on the |
// --use-gl flag. |