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..bd2a4f20c66dce8080ee65af5c2bfb36a819fc9a 100644 |
--- a/remoting/host/elevated_controller_module_win.cc |
+++ b/remoting/host/elevated_controller_module_win.cc |
@@ -31,7 +31,7 @@ class ElevatedControllerModuleWin |
remoting::ElevatedControllerModuleWin _AtlModule; |
int WINAPI WinMain(HINSTANCE instance, HINSTANCE, LPSTR, int command) { |
- if (remoting::IsCrashReportingEnabled()) { |
+ if (remoting::IsUsageStatsAllowed()) { |
remoting::InitializeCrashReporting(); |
} |