commit | 5b72f2e13767d886fb0d35899a8a52ca0e8e28c2 | [log] [tgz] |
---|---|---|
author | Sylvain Defresne <sdefresne@chromium.org> | Wed Jan 16 17:52:49 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jan 16 17:52:49 2019 |
tree | eda9ba503cdc7e8bce345e39a64e199142d6e9e5 | |
parent | 4d0abff48d186a8373bfa22ceddd71f9daaf9ae8 [diff] |
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/omaha. This CL was uploaded by git cl split. Bug: none Change-Id: Ia43422b81713ca0a22e01ff258340f28a6898f56 Reviewed-on: https://chromium-review.googlesource.com/c/1411994 Reviewed-by: Rohit Rao <rohitrao@chromium.org> Commit-Queue: Sylvain Defresne <sdefresne@chromium.org> Cr-Commit-Position: refs/heads/master@{#623286}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .