Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1240)

Unified Diff: base/win_util_unittest.cc

Issue 28128: Fix all places where we used the GetWinVersion function... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/win_util.cc ('k') | chrome/app/chrome_exe_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win_util_unittest.cc
===================================================================
--- base/win_util_unittest.cc (revision 10275)
+++ base/win_util_unittest.cc (working copy)
@@ -47,7 +47,7 @@
// The test is somewhat silly, because the Vista bots some have UAC enabled
// and some have it disabled. At least we check that it does not crash.
TEST_F(BaseWinUtilTest, TestIsUACEnabled) {
- if (win_util::GetWinVersion() == win_util::WINVERSION_VISTA) {
+ if (win_util::GetWinVersion() >= win_util::WINVERSION_VISTA) {
win_util::UserAccountControlIsEnabled();
} else {
EXPECT_TRUE(win_util::UserAccountControlIsEnabled());
« no previous file with comments | « base/win_util.cc ('k') | chrome/app/chrome_exe_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698