Use static variable instead of LazyInstance in base::Process::CanBackgroundProcesses().

Before this CL, base::Process::CanBackgroundProcesses() used a
LazyInstance to ensure that a bool was initialized only once. The same
result with less code using a static variable.

Change-Id: I00b5cea3619bd71701e48a8e5cc80b5fc0db10e8
Reviewed-on: https://chromium-review.googlesource.com/1024232
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: François Doray <fdoray@chromium.org>
Cr-Commit-Position: refs/heads/master@{#552793}

CrOS-Libchrome-Original-Commit: c4b34eca11001629a6b0066bddd8ca276e968350
1 file changed
tree: 230bbb5259d8cfc2b99be6f2627210c19b894f1e
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/