diff options
Diffstat (limited to 'chrome/browser/ui/views/about_chrome_view.cc')
-rw-r--r-- | chrome/browser/ui/views/about_chrome_view.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/browser/ui/views/about_chrome_view.cc b/chrome/browser/ui/views/about_chrome_view.cc index 70505fb..93faa2a 100644 --- a/chrome/browser/ui/views/about_chrome_view.cc +++ b/chrome/browser/ui/views/about_chrome_view.cc @@ -532,10 +532,8 @@ void AboutChromeView::ViewHierarchyChanged(bool is_add, // on-demand updates. Silent updates (in the background) should still // work as before - enabling UAC or installing the latest service pack // for Vista is another option. - int service_pack_major = 0, service_pack_minor = 0; - base::win::GetServicePackLevel(&service_pack_major, &service_pack_minor); if (!(base::win::GetVersion() == base::win::VERSION_VISTA && - (service_pack_major == 0) && + (base::win::OSInfo::GetInstance()->service_pack().major == 0) && !base::win::UserAccountControlIsEnabled())) { UpdateStatus(UPGRADE_CHECK_STARTED, GOOGLE_UPDATE_NO_ERROR); // CheckForUpdate(false, ...) means don't upgrade yet. |