mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
refactor: use auto env = base::Environment::Create(); everywhere (#29502)
This commit is contained in:
@@ -190,7 +190,7 @@ void OpenExternal(const GURL& url,
|
||||
}
|
||||
|
||||
bool MoveItemToTrash(const base::FilePath& full_path, bool delete_on_fail) {
|
||||
std::unique_ptr<base::Environment> env(base::Environment::Create());
|
||||
auto env = base::Environment::Create();
|
||||
|
||||
// find the trash method
|
||||
std::string trash;
|
||||
|
||||
Reference in New Issue
Block a user