summaryrefslogtreecommitdiffstats
path: root/base/logging.h
diff options
context:
space:
mode:
authorchcunningham <chcunningham@chromium.org>2015-02-06 17:58:37 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-07 01:59:29 +0000
commitf6a960842a2e3f23a3059fbf985a149ee36f115d (patch)
treeada66b18149aa197a252fc033a1d9ca1f05f08d8 /base/logging.h
parent0b46750604491453c46480ab985fec398f97c86e (diff)
downloadchromium_src-f6a960842a2e3f23a3059fbf985a149ee36f115d.zip
chromium_src-f6a960842a2e3f23a3059fbf985a149ee36f115d.tar.gz
chromium_src-f6a960842a2e3f23a3059fbf985a149ee36f115d.tar.bz2
Stronger comment for LAZY_STREAM macro.
Review URL: https://codereview.chromium.org/906683002 Cr-Commit-Position: refs/heads/master@{#315158}
Diffstat (limited to 'base/logging.h')
-rw-r--r--base/logging.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/logging.h b/base/logging.h
index aa243a9..cc0a5aa 100644
--- a/base/logging.h
+++ b/base/logging.h
@@ -350,7 +350,7 @@ const LogSeverity LOG_0 = LOG_ERROR;
((verboselevel) <= ::logging::GetVlogLevel(__FILE__))
// Helper macro which avoids evaluating the arguments to a stream if
-// the condition doesn't hold.
+// the condition doesn't hold. Condition is evaluated once and only once.
#define LAZY_STREAM(stream, condition) \
!(condition) ? (void) 0 : ::logging::LogMessageVoidify() & (stream)