| 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 0bff8c604e5779a3a41187af461f1c871824f5ee..8479e6d1d1d6438f6f2827fee7fe373ed080465f 100644
|
| --- a/remoting/host/elevated_controller_module_win.cc
|
| +++ b/remoting/host/elevated_controller_module_win.cc
|
| @@ -31,9 +31,11 @@ class ElevatedControllerModuleWin
|
| remoting::ElevatedControllerModuleWin _AtlModule;
|
|
|
| int WINAPI WinMain(HINSTANCE instance, HINSTANCE, LPSTR, int command) {
|
| - if (remoting::IsCrashReportingEnabled()) {
|
| +#ifdef OFFICIAL_BUILD
|
| + if (remoting::IsUsageStatsAllowed()) {
|
| remoting::InitializeCrashReporting();
|
| }
|
| +#endif // OFFICIAL_BUILD
|
|
|
| CommandLine::Init(0, NULL);
|
|
|
|
|