commit | 8e2458e78025c4c21a79ebd930856f3360639b1d | [log] [tgz] |
---|---|---|
author | Sylvain Defresne <sdefresne@chromium.org> | Thu Jan 17 11:33:31 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jan 17 11:33:31 2019 |
tree | 62490ee488576c7e2d04a0040445b9d96cd546cc | |
parent | 419d7a6e937d8eb5ba40ddd680b08b3ac7d46993 [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/ui/fullscreen. This CL was uploaded by git cl split. Bug: none Change-Id: Icf62b217302c8487195b4610507248cf55cf39e8 Reviewed-on: https://chromium-review.googlesource.com/c/1411645 Reviewed-by: Kurt Horimoto <kkhorimoto@chromium.org> Commit-Queue: Sylvain Defresne <sdefresne@chromium.org> Cr-Commit-Position: refs/heads/master@{#623650}
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 .