summaryrefslogtreecommitdiffstats
path: root/sandbox
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/win/tests/validation_tests/suite.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sandbox/win/tests/validation_tests/suite.cc b/sandbox/win/tests/validation_tests/suite.cc
index 35fb5dd..df2cb3e 100644
--- a/sandbox/win/tests/validation_tests/suite.cc
+++ b/sandbox/win/tests/validation_tests/suite.cc
@@ -167,7 +167,7 @@ TEST(ValidationSuite, TestProcessDenyLockdown) {
// to the integrity label changing after startup via SetDelayedIntegrityLevel).
TEST(ValidationSuite, TestProcessDenyLowIntegrity) {
// This test applies only to Vista and above.
- if (base::win::Version() < base::win::VERSION_VISTA)
+ if (base::win::GetVersion() < base::win::VERSION_VISTA)
return;
TestRunner runner;
@@ -188,7 +188,7 @@ TEST(ValidationSuite, TestProcessDenyLowIntegrity) {
// Tests that a locked-down process cannot open a low-integrity process.
TEST(ValidationSuite, TestProcessDenyBelowLowIntegrity) {
// This test applies only to Vista and above.
- if (base::win::Version() < base::win::VERSION_VISTA)
+ if (base::win::GetVersion() < base::win::VERSION_VISTA)
return;
TestRunner runner;