| Index: remoting/host/elevated_controller_module_win.cc
|
| diff --git a/remoting/host/elevated_controller_module_win.cc b/remoting/host/elevated_controller_module_win.cc
|
| index 9d6442b14b0634534411efcca97d5b407e7cf3aa..c493e764e08e6d3ec2cb51951b26dc150cf72b59 100644
|
| --- a/remoting/host/elevated_controller_module_win.cc
|
| +++ b/remoting/host/elevated_controller_module_win.cc
|
| @@ -28,9 +28,13 @@ class ElevatedControllerModuleWin
|
|
|
| remoting::ElevatedControllerModuleWin _AtlModule;
|
|
|
| -int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int command) {
|
| +HINSTANCE g_instance = NULL;
|
| +
|
| +int WINAPI WinMain(HINSTANCE instance, HINSTANCE, LPSTR, int command) {
|
| CommandLine::Init(0, NULL);
|
|
|
| + g_instance = instance;
|
| +
|
| // This object instance is required by Chrome code (for example,
|
| // FilePath, LazyInstance, MessageLoop).
|
| base::AtExitManager exit_manager;
|
|
|