Chromium Code Reviews| Index: chrome/installer/util/google_update_util.cc |
| diff --git a/chrome/installer/util/google_update_util.cc b/chrome/installer/util/google_update_util.cc |
| index 3a8558f56b0d2e66268f83c409501b8d05f8428b..42ddb1a00d4b8943c08fe6db79d01f9c0735a246 100644 |
| --- a/chrome/installer/util/google_update_util.cc |
| +++ b/chrome/installer/util/google_update_util.cc |
| @@ -16,7 +16,6 @@ |
| #include "base/win/registry.h" |
| #include "base/win/scoped_handle.h" |
| #include "base/win/win_util.h" |
| -#include "base/win/windows_version.h" |
| #include "chrome/installer/util/browser_distribution.h" |
| #include "chrome/installer/util/google_update_constants.h" |
| #include "chrome/installer/util/google_update_settings.h" |
| @@ -178,8 +177,7 @@ void ElevateIfNeededToReenableUpdates() { |
| base::LaunchOptions launch_options; |
| launch_options.force_breakaway_from_job_ = true; |
| - if (base::win::GetVersion() >= base::win::VERSION_VISTA && |
| - base::win::UserAccountControlIsEnabled()) { |
| + if (base::win::UserAccountControlIsEnabled()) { |
|
grt (UTC plus 2)
2016/06/22 14:13:55
uber nit: omit braces
ananta
2016/06/22 18:43:52
Done.
|
| base::LaunchElevatedProcess(cmd, launch_options); |
| } else { |
| base::LaunchProcess(cmd, launch_options); |