| Index: remoting/host/win/wts_session_process_delegate.cc
|
| diff --git a/remoting/host/win/wts_session_process_delegate.cc b/remoting/host/win/wts_session_process_delegate.cc
|
| index a8a9a495b67a16dc44b21f680c1bfda1aec484d1..1f1b7bc75648ec50ff7b2c0f907c275776943bfc 100644
|
| --- a/remoting/host/win/wts_session_process_delegate.cc
|
| +++ b/remoting/host/win/wts_session_process_delegate.cc
|
| @@ -19,7 +19,6 @@
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "base/threading/thread_task_runner_handle.h"
|
| #include "base/win/scoped_handle.h"
|
| -#include "base/win/windows_version.h"
|
| #include "ipc/attachment_broker.h"
|
| #include "ipc/ipc_channel.h"
|
| #include "ipc/ipc_channel_proxy.h"
|
| @@ -163,10 +162,6 @@ WtsSessionProcessDelegate::Core::Core(
|
| bool WtsSessionProcessDelegate::Core::Initialize(uint32_t session_id) {
|
| DCHECK(caller_task_runner_->BelongsToCurrentThread());
|
|
|
| - // Windows XP does not support elevation.
|
| - if (base::win::GetVersion() < base::win::VERSION_VISTA)
|
| - launch_elevated_ = false;
|
| -
|
| if (launch_elevated_) {
|
| // GetNamedPipeClientProcessId() is available starting from Vista.
|
| HMODULE kernel32 = ::GetModuleHandle(L"kernel32.dll");
|
|
|