[jumbo] avoid g_instance anonymous namespace collision

Moving these to be function-local static variables is a better pattern,
less likely to cause trouble for jumbo builds.

Followup to https://chromium-review.googlesource.com/c/chromium/src/+/792691
and https://chromium-review.googlesource.com/792942

Change-Id: I1c85a04f5023d6e48b82758d108cb10fda09b53c
Reviewed-on: https://chromium-review.googlesource.com/792939
Commit-Queue: Mostyn Bramley-Moore <mostynb@vewd.com>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Taiju Tsuiki <tzik@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Mostyn Bramley-Moore <mostynb@vewd.com>
Cr-Commit-Position: refs/heads/master@{#519689}

CrOS-Libchrome-Original-Commit: 41e0ecedc55b7d6888644d61426f3d71349f327b
2 files changed
tree: 882cce106c5a51bd532b5c3832aa4dc5ea166749
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/