| Index: chrome/service/service_utility_process_host.cc
|
| diff --git a/chrome/service/service_utility_process_host.cc b/chrome/service/service_utility_process_host.cc
|
| index 46483ff37a428bb10d3e664e2a39f72bfd97b7fb..3ed91b49e6443bfd884a00f3a6d379d7c02336d7 100644
|
| --- a/chrome/service/service_utility_process_host.cc
|
| +++ b/chrome/service/service_utility_process_host.cc
|
| @@ -67,9 +67,10 @@ class ServiceSandboxedProcessLauncherDelegate
|
| ServiceSandboxedProcessLauncherDelegate() {}
|
|
|
| bool PreSpawnTarget(sandbox::TargetPolicy* policy) override {
|
| - // Service process may run as windows service and it fails to create a
|
| - // window station.
|
| - return policy->SetAlternateDesktop(false) == sandbox::SBOX_ALL_OK;
|
| + // Ignore result of SetAlternateDesktop. Service process may run as windows
|
| + // service and it fails to create a window station.
|
| + base::IgnoreResult(policy->SetAlternateDesktop(false));
|
| + return true;
|
| }
|
|
|
| private:
|
|
|