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
|
@ -160,7 +160,7 @@ AppIndicatorIcon::AppIndicatorIcon(std::string id,
|
|||
const gfx::ImageSkia& image,
|
||||
const std::u16string& tool_tip)
|
||||
: id_(id) {
|
||||
std::unique_ptr<base::Environment> env(base::Environment::Create());
|
||||
auto env = base::Environment::Create();
|
||||
desktop_env_ = base::nix::GetDesktopEnvironment(env.get());
|
||||
|
||||
EnsureLibAppIndicatorLoaded();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue