| Index: content/common/sandbox_mac.mm
|
| diff --git a/content/common/sandbox_mac.mm b/content/common/sandbox_mac.mm
|
| index 5271dcdd43c8949a008e02a328eada516a3584f8..9994f45136f3b244104e39ad990abda67b9ad8e7 100644
|
| --- a/content/common/sandbox_mac.mm
|
| +++ b/content/common/sandbox_mac.mm
|
| @@ -44,6 +44,7 @@
|
| extern "C" {
|
| void CGSSetDenyWindowServerConnections(bool);
|
| void CGSShutdownServerConnections();
|
| +OSStatus SetApplicationIsDaemon(Boolean isDaemon);
|
| };
|
|
|
| namespace content {
|
| @@ -348,6 +349,12 @@ void Sandbox::SandboxWarmup(int sandbox_type) {
|
| // messages to be printed to the system logger on certain OS versions.
|
| CGSSetDenyWindowServerConnections(true);
|
| CGSShutdownServerConnections();
|
| +
|
| + // Allow the process to continue without a LaunchServices ASN. The
|
| + // INIT_Process function in HIServices will abort if it cannot connect to
|
| + // launchservicesd to get an ASN. By setting this flag, HIServices skips
|
| + // that.
|
| + SetApplicationIsDaemon(true);
|
| }
|
| }
|
|
|
|
|