| Index: chrome/browser/lifetime/application_lifetime_win.cc
|
| diff --git a/chrome/browser/lifetime/application_lifetime_win.cc b/chrome/browser/lifetime/application_lifetime_win.cc
|
| index c5ea8a2c87c49761d953131fe9c9b5ac92595a0b..9c5cbdeed41068bcb0159611c6925ec85d086c48 100644
|
| --- a/chrome/browser/lifetime/application_lifetime_win.cc
|
| +++ b/chrome/browser/lifetime/application_lifetime_win.cc
|
| @@ -71,9 +71,7 @@ void ActivateDesktopHelper() {
|
| std::string version_str;
|
|
|
| // Get the version variable and remove it from the environment.
|
| - if (env->GetVar(chrome::kChromeVersionEnvVar, &version_str))
|
| - env->UnSetVar(chrome::kChromeVersionEnvVar);
|
| - else
|
| + if (!env->GetVar(chrome::kChromeVersionEnvVar, &version_str))
|
| version_str.clear();
|
|
|
| base::FilePath exe_path;
|
|
|