Index: remoting/host/win/chromoting_module.cc |
diff --git a/remoting/host/win/chromoting_module.cc b/remoting/host/win/chromoting_module.cc |
index 566418f28ed6c5e7bfcb4cc354b5e42c508ca55b..1f64d68cc063bf8d821ff0b5212e09797c8540a4 100644 |
--- a/remoting/host/win/chromoting_module.cc |
+++ b/remoting/host/win/chromoting_module.cc |
@@ -10,7 +10,6 @@ |
#include "base/run_loop.h" |
#include "base/strings/utf_string_conversions.h" |
#include "base/win/scoped_handle.h" |
-#include "base/win/windows_version.h" |
#include "remoting/base/auto_thread_task_runner.h" |
#include "remoting/base/typed_buffer.h" |
#include "remoting/host/host_exit_codes.h" |
@@ -184,9 +183,8 @@ HRESULT ChromotingModule::RevokeClassObjects() { |
int RdpDesktopSessionMain() { |
// Lower the integrity level to medium, which is the lowest level at which |
// the RDP ActiveX control can run. |
- if (base::win::GetVersion() >= base::win::VERSION_VISTA) { |
- if (!LowerProcessIntegrityLevel(SECURITY_MANDATORY_MEDIUM_RID)) |
- return kInitializationFailed; |
+ if (!LowerProcessIntegrityLevel(SECURITY_MANDATORY_MEDIUM_RID)) { |
+ return kInitializationFailed; |
} |
ATL::_ATL_OBJMAP_ENTRY rdp_client_entry[] = { |