diff options
author | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-25 20:26:44 +0000 |
---|---|---|
committer | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-25 20:26:44 +0000 |
commit | 309c8ff514d506364567d9e6095a295b8d5c3d3e (patch) | |
tree | eed57b5e9e9b725c02d665472b839b305227f04a /chrome/app | |
parent | 47041caea97f2ffe6ecd5963684d3b57f7dde14d (diff) | |
download | chromium_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/app')
-rw-r--r-- | chrome/app/chrome_exe_main.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/app/chrome_exe_main.cc b/chrome/app/chrome_exe_main.cc index 3065597..d8fed89 100644 --- a/chrome/app/chrome_exe_main.cc +++ b/chrome/app/chrome_exe_main.cc @@ -27,8 +27,7 @@ int APIENTRY wWinMain(HINSTANCE instance, HINSTANCE prev_instance, base::AtExitManager exit_manager; win_util::WinVersion win_version = win_util::GetWinVersion(); - if (win_version == win_util::WINVERSION_XP || - win_version == win_util::WINVERSION_SERVER_2003) { + if (win_version < win_util::WINVERSION_VISTA) { // On Vista, this is unnecessary since it is controlled through the // /NXCOMPAT linker flag. // Enforces strong DEP support. |