Index: remoting/host/remoting_me2me_host.cc |
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc |
index db4dfc5718e6a383c92b4bca1b2d942a360ee765..c0b457a374c0686857eff650bb0c987986d4bba8 100644 |
--- a/remoting/host/remoting_me2me_host.cc |
+++ b/remoting/host/remoting_me2me_host.cc |
@@ -567,9 +567,11 @@ int CALLBACK WinMain(HINSTANCE instance, |
HINSTANCE previous_instance, |
LPSTR command_line, |
int show_command) { |
- if (remoting::IsCrashReportingEnabled()) { |
+#ifdef OFFICIAL_BUILD |
+ if (remoting::IsUsageStatsAllowed()) { |
remoting::InitializeCrashReporting(); |
} |
+#endif // OFFICIAL_BUILD |
g_hModule = instance; |