commit | bf79a9eb710d8c9df6ab3e5e305ff6c881a19ab2 | [log] [tgz] |
---|---|---|
author | Alex Vakulenko <avakulenko@google.com> | Mon Mar 28 15:11:43 2016 -0700 |
committer | Alex Vakulenko <avakulenko@google.com> | Tue Mar 29 15:05:51 2016 +0000 |
tree | 7d10752e918135578ef2c19c94ee48ef33c89487 | |
parent | b9bbdc69c86ce7a1b8f2221fba4fe8f50fd6b9a8 [diff] [blame] |
libweave: Port base/ changes from Chromium project Now this makes the state of base/ match libchrome's implementation on Brillo and Chrome OS. Change-Id: I1c1eb30d2669aeb58a77f332f8c69f130d00878c Reviewed-on: https://weave-review.googlesource.com/3065 Reviewed-by: Robert Ginda <rginda@google.com>
diff --git a/third_party/chromium/base/logging.cc b/third_party/chromium/base/logging.cc index 6306f47..ab97073 100644 --- a/third_party/chromium/base/logging.cc +++ b/third_party/chromium/base/logging.cc
@@ -233,7 +233,7 @@ } void RawLog(int level, const char* message) { - if (level >= g_min_log_level) { + if (level >= g_min_log_level && message) { size_t bytes_written = 0; const size_t message_len = strlen(message); int rv;