Chromium Code Reviews| Index: content/common/sandbox_mac.mm |
| diff --git a/content/common/sandbox_mac.mm b/content/common/sandbox_mac.mm |
| index d531f8bfef410a2ca07e051175703ddf4bc03515..bce59d10bc25dfee93d289a2a286f4b2a2cb311f 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,13 @@ void Sandbox::SandboxWarmup(int sandbox_type) { |
| } |
| // Process-type dependent warm-up. |
| + if (sandbox_type == SANDBOX_TYPE_UTILITY) { |
| + // CFTimeZoneCopySystem() - 10.8 |
| + // Allows access to the system time zone. Media Galleries uses the sandboxed |
| + // utility process to read Picasa databases containing local times. |
| + CFTimeZoneCopySystem(); |
|
jeremy
2013/08/30 23:26:26
How about:
CFTimeZoneCopyZone() tries to read /et
tommycli
2013/08/30 23:36:56
Done.
|
| + } |
| + |
| if (sandbox_type == SANDBOX_TYPE_GPU) { |
| // Preload either the desktop GL or the osmesa so, depending on the |
| // --use-gl flag. |