summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorwez <wez@chromium.org>2016-03-18 18:18:07 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-19 01:26:43 +0000
commitf01a9b7d35e1140317e824a7df39aa1cb15c6963 (patch)
treef8d6c7e3db218b0d6ab961e70e146a514bc15aa7 /base
parent978fdeddb5dd51a5e94a0a688bb0c0ec946fe672 (diff)
downloadchromium_src-f01a9b7d35e1140317e824a7df39aa1cb15c6963.zip
chromium_src-f01a9b7d35e1140317e824a7df39aa1cb15c6963.tar.gz
chromium_src-f01a9b7d35e1140317e824a7df39aa1cb15c6963.tar.bz2
Fix sense of CheckOpResult comment.
Committed: https://crrev.com/b7662fc32246dda98df64fd8aa41fddbaae7d2be Cr-Commit-Position: refs/heads/master@{#382056} Review URL: https://codereview.chromium.org/1808053002 Cr-Commit-Position: refs/heads/master@{#382167}
Diffstat (limited to 'base')
-rw-r--r--base/logging.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/logging.h b/base/logging.h
index 2c8959c..0767469 100644
--- a/base/logging.h
+++ b/base/logging.h
@@ -430,7 +430,7 @@ const LogSeverity LOG_0 = LOG_ERROR;
// boolean.
class CheckOpResult {
public:
- // |message| must be non-null iff the check failed.
+ // |message| must be non-null if and only if the check failed.
CheckOpResult(std::string* message) : message_(message) {}
// Returns true if the check succeeded.
operator bool() const { return !message_; }