refactor: use auto env = base::Environment::Create(); everywhere (#29502)

This commit is contained in:
Milan Burda
2021-06-04 02:23:06 +02:00
committed by GitHub
parent 5929d6335f
commit 00693bab30
11 changed files with 14 additions and 14 deletions

View File

@@ -58,7 +58,7 @@ void EnsureLibUnityLoaded() {
return;
attempted_load = true;
std::unique_ptr<base::Environment> env(base::Environment::Create());
auto env = base::Environment::Create();
base::nix::DesktopEnvironment desktop_env = GetDesktopEnvironment(env.get());
// The "icon-tasks" KDE task manager also honors Unity Launcher API.