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 f4cc407fe1193c60a080f12b19bc09c7e9a8d63a..6f7c8a2141e04fc60d9f8f4b53e6dafa8824b780 100644 |
--- a/remoting/host/elevated_controller_module_win.cc |
+++ b/remoting/host/elevated_controller_module_win.cc |
@@ -31,6 +31,12 @@ remoting::ElevatedControllerModuleWin _AtlModule; |
int WINAPI WinMain(HINSTANCE instance, HINSTANCE, LPSTR, int command) { |
CommandLine::Init(0, NULL); |
+ // Register and initialize common controls. |
+ INITCOMMONCONTROLSEX info; |
+ info.dwSize = sizeof(info); |
+ info.dwICC = ICC_STANDARD_CLASSES; |
+ InitCommonControlsEx(&info); |
+ |
// This object instance is required by Chrome code (for example, |
// FilePath, LazyInstance, MessageLoop). |
base::AtExitManager exit_manager; |