| Index: remoting/host/setup/start_host_main.cc
|
| diff --git a/remoting/host/setup/start_host_main.cc b/remoting/host/setup/start_host_main.cc
|
| index df74f6d149654b38d3b9e7f81214c47035de19c5..0fa66f883902c3ad7f3498fa62aa6c1abffc8f09 100644
|
| --- a/remoting/host/setup/start_host_main.cc
|
| +++ b/remoting/host/setup/start_host_main.cc
|
| @@ -31,7 +31,7 @@
|
| #endif // defined(OS_POSIX)
|
|
|
| #if defined(OS_WIN)
|
| -#include "remoting/host/win/elevation_helpers.h"
|
| +#include "base/process/process_info.h"
|
| #endif // defined(OS_WIN)
|
|
|
| namespace remoting {
|
| @@ -151,7 +151,7 @@ int StartHostMain(int argc, char** argv) {
|
| #if defined(OS_WIN)
|
| // The tool must be run elevated on Windows so the host has access to the
|
| // directories used to store the configuration JSON files.
|
| - if (!remoting::IsProcessElevated()) {
|
| + if (!base::IsCurrentProcessElevated()) {
|
| fprintf(stderr, "Error: %s must be run as an elevated process.", argv[0]);
|
| return 1;
|
| }
|
|
|