Index: sandbox/win/src/registry_dispatcher.cc |
diff --git a/sandbox/win/src/registry_dispatcher.cc b/sandbox/win/src/registry_dispatcher.cc |
index fef727dac7d2fc381edc4a955e84f515d3b3f6f3..b8d94c8cc366e6d496cb7e188266fff1eaa69fe4 100644 |
--- a/sandbox/win/src/registry_dispatcher.cc |
+++ b/sandbox/win/src/registry_dispatcher.cc |
@@ -68,11 +68,7 @@ bool RegistryDispatcher::SetupService(InterceptionManager* manager, |
if (IPC_NTOPENKEY_TAG == service) { |
bool result = INTERCEPT_NT(manager, NtOpenKey, OPEN_KEY_ID, 16); |
- if (base::win::GetVersion() >= base::win::VERSION_WIN7 || |
- (base::win::GetVersion() == base::win::VERSION_VISTA && |
- base::win::OSInfo::GetInstance()->version_type() == |
- base::win::SUITE_SERVER)) |
- result &= INTERCEPT_NT(manager, NtOpenKeyEx, OPEN_KEY_EX_ID, 20); |
+ result &= INTERCEPT_NT(manager, NtOpenKeyEx, OPEN_KEY_EX_ID, 20); |
return result; |
} |