refactor: use auto env = base::Environment::Create(); everywhere (#29502)
This commit is contained in:
parent
5929d6335f
commit
00693bab30
11 changed files with 14 additions and 14 deletions
|
@ -52,7 +52,7 @@ void ElectronCrashReporterClient::Create() {
|
|||
|
||||
// By setting the BREAKPAD_DUMP_LOCATION environment variable, an alternate
|
||||
// location to write crash dumps can be set.
|
||||
std::unique_ptr<base::Environment> env(base::Environment::Create());
|
||||
auto env = base::Environment::Create();
|
||||
std::string alternate_crash_dump_location;
|
||||
base::FilePath crash_dumps_dir_path;
|
||||
if (env->GetVar("BREAKPAD_DUMP_LOCATION", &alternate_crash_dump_location)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue