Index: chrome/browser/ui/views/about_chrome_view.cc |
=================================================================== |
--- chrome/browser/ui/views/about_chrome_view.cc (revision 80667) |
+++ chrome/browser/ui/views/about_chrome_view.cc (working copy) |
@@ -532,10 +532,8 @@ |
// 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()[0] == 0) && |
!base::win::UserAccountControlIsEnabled())) { |
UpdateStatus(UPGRADE_CHECK_STARTED, GOOGLE_UPDATE_NO_ERROR); |
// CheckForUpdate(false, ...) means don't upgrade yet. |