commit | 04b4796f70d0313f4f0edca65a1b68b1ab96206f | [log] [tgz] |
---|---|---|
author | Daniel Erat <derat@google.com> | Thu Oct 01 05:25:50 2015 +0900 |
committer | Qijiang Fan <fqj@google.com> | Sat Jun 06 03:56:14 2020 +0900 |
tree | f6f8169a4d4f8c0eb71011f522405bf70c890993 | |
parent | 9cd7759ac99bac86c8a643a566b66209133a7e69 [diff] |
Don't crash when logging if CommandLine is uninitialized. The base::CommandLine singleton is usually initialized from main(), but some gtest-based unit tests don't have control over that function. Guard CommandLine accesses in base/logging.cc to handle this gracefully. Bug: 24536569 Change-Id: If3eab0f36c28bb6b3cf3569c61c7d7cec5cf7b10 (Reconstructed from b8c214021901c7f18bf76f1fdb4cec6e8cf8db49)
This directory includes the source from Chrome's libbase for use in Chrome OS.
See libchrome.md for more info.