summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/about_chrome_view.cc
diff options
context:
space:
mode:
authornsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-25 20:26:44 +0000
committernsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-25 20:26:44 +0000
commit309c8ff514d506364567d9e6095a295b8d5c3d3e (patch)
treeeed57b5e9e9b725c02d665472b839b305227f04a /chrome/browser/views/about_chrome_view.cc
parent47041caea97f2ffe6ecd5963684d3b57f7dde14d (diff)
downloadchromium_src-309c8ff514d506364567d9e6095a295b8d5c3d3e.zip
chromium_src-309c8ff514d506364567d9e6095a295b8d5c3d3e.tar.gz
chromium_src-309c8ff514d506364567d9e6095a295b8d5c3d3e.tar.bz2
Fix all places where we used the GetWinVersion function
incorrectly. bug:7802 Review URL: http://codereview.chromium.org/28128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10366 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/about_chrome_view.cc')
-rw-r--r--chrome/browser/views/about_chrome_view.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/views/about_chrome_view.cc b/chrome/browser/views/about_chrome_view.cc
index 347e717a..b6e4b3d 100644
--- a/chrome/browser/views/about_chrome_view.cc
+++ b/chrome/browser/views/about_chrome_view.cc
@@ -584,7 +584,8 @@ void AboutChromeView::ViewHierarchyChanged(bool is_add,
if (win_util::UserAccountControlIsEnabled() ||
win_util::GetWinVersion() == win_util::WINVERSION_XP ||
(win_util::GetWinVersion() == win_util::WINVERSION_VISTA &&
- service_pack_major >= 1)) {
+ service_pack_major >= 1) ||
+ win_util::GetWinVersion() > win_util::WINVERSION_VISTA) {
UpdateStatus(UPGRADE_CHECK_STARTED, GOOGLE_UPDATE_NO_ERROR);
google_updater_->CheckForUpdate(false); // false=don't upgrade yet.
}