Index: sandbox/win/src/process_mitigations_test.cc |
diff --git a/sandbox/win/src/process_mitigations_test.cc b/sandbox/win/src/process_mitigations_test.cc |
index 53b0442c1c54d0cc0a0fad6d7672448f57bea114..1e6b3420a0c2542db8cdc5a6fcd7e53166021dc9 100644 |
--- a/sandbox/win/src/process_mitigations_test.cc |
+++ b/sandbox/win/src/process_mitigations_test.cc |
@@ -948,7 +948,7 @@ SBOX_TESTS_COMMAND int CheckDep(int argc, wchar_t** argv) { |
#if !defined(_WIN64) // DEP is always enabled on 64-bit. |
TEST(ProcessMitigationsTest, CheckDep) { |
- if (base::win::GetVersion() > base::win::VERSION_WIN7) |
+ if (base::win::GetVersion() >= base::win::VERSION_WIN8) |
return; |
TestRunner runner; |