Index: remoting/host/usage_stats_consent_win.cc |
diff --git a/remoting/host/usage_stats_consent_win.cc b/remoting/host/usage_stats_consent_win.cc |
index bf73c28446642f1de26e734b72b55f843847f044..cefb1cf2beaccc5119ed4e5076e3f3fcb31d4275 100644 |
--- a/remoting/host/usage_stats_consent_win.cc |
+++ b/remoting/host/usage_stats_consent_win.cc |
@@ -58,8 +58,8 @@ bool GetUsageStatsConsent(bool* allowed, bool* set_by_policy) { |
return true; |
} |
- LOG_GETLASTERROR(ERROR) |
- << "Failed to record the user's consent to crash dump reporting"; |
+ // We do not log the error code here because the logging hasn't been |
+ // initialized yet. |
return false; |
} |