commit | 1e75a15d2cc1700aadb2a8916b544bb4fc6ff1f2 | [log] [tgz] |
---|---|---|
author | Sylvain Defresne <sdefresne@chromium.org> | Thu Jan 17 14:36:16 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jan 17 14:36:16 2019 |
tree | 7b0a89e7acc8903628afa247ec1653b0675e2a89 | |
parent | 839d9d5f637eaf689442799db81935bb079b5970 [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/passwords. This CL was uploaded by git cl split. Bug: none Change-Id: Ia5a92662c386e071c34033fc89ac932fab043b78 Reviewed-on: https://chromium-review.googlesource.com/c/1411781 Reviewed-by: Vasilii Sukhanov <vasilii@chromium.org> Commit-Queue: Sylvain Defresne <sdefresne@chromium.org> Cr-Commit-Position: refs/heads/master@{#623681}
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 .