From 309c8ff514d506364567d9e6095a295b8d5c3d3e Mon Sep 17 00:00:00 2001 From: "nsylvain@chromium.org" Date: Wed, 25 Feb 2009 20:26:44 +0000 Subject: 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 --- chrome/test/mini_installer_test/test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/test') diff --git a/chrome/test/mini_installer_test/test.cc b/chrome/test/mini_installer_test/test.cc index 9020bcb..bf86630 100644 --- a/chrome/test/mini_installer_test/test.cc +++ b/chrome/test/mini_installer_test/test.cc @@ -14,7 +14,7 @@ class MiniInstallTest : public testing::Test { virtual void SetUp() { ChromeMiniInstaller userinstall(mini_installer_constants::kUserInstall); userinstall.UnInstall(); - if (win_util::GetWinVersion() != win_util::WINVERSION_VISTA) { + if (win_util::GetWinVersion() < win_util::WINVERSION_VISTA) { ChromeMiniInstaller systeminstall( mini_installer_constants::kSystemInstall); systeminstall.UnInstall(); @@ -34,7 +34,7 @@ TEST_F(MiniInstallTest, MiniInstallerOverChromeMetaInstallerTest) { } TEST_F(MiniInstallTest, MiniInstallerSystemInstallTest) { - if (win_util::GetWinVersion() != win_util::WINVERSION_VISTA) { + if (win_util::GetWinVersion() < win_util::WINVERSION_VISTA) { ChromeMiniInstaller installer(mini_installer_constants::kSystemInstall); installer.InstallMiniInstaller(); } -- cgit v1.1