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/chrome/browser/favicon.

This CL was uploaded by git cl split.

Bug: none
Change-Id: Iec12a9f2c05d6415fffb371fa589b65d9f759c19
Auto-Submit: Sylvain Defresne <>
Reviewed-by: edchin <>
Commit-Queue: Sylvain Defresne <>
Cr-Commit-Position: refs/heads/master@{#625135}
8 files changed