Convert from base::{LazyInstance,Singleton} to base::NoDestructor

The class base::NoDestructor is a simpler way to define a static
global value (aka a singleton) than base::{LazyInstance,Singleton}
and is the recommended pattern to use.

The changes were automated using a custom one-shot script, then
fine tuned by hand (to remove unnecessary classes, ...).

This fixes usages in src/ios/web_view/internal/sync.

This CL was uploaded by git cl split.

Bug: none
Change-Id: I8c335cf791dbdd57860c7a45bc62fc456a3adbce
Reviewed-on: https://chromium-review.googlesource.com/c/1426680
Auto-Submit: Sylvain Defresne <sdefresne@chromium.org>
Reviewed-by: Marc Treib <treib@chromium.org>
Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
Cr-Commit-Position: refs/heads/master@{#625131}
8 files changed