Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Unified Diff: mojo/system/channel.cc

Issue 225863008: Mojo: Fix my LOG_IF(ERROR, ...) from r262803. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/channel.cc
diff --git a/mojo/system/channel.cc b/mojo/system/channel.cc
index 4b81fea090ae3012d363471cee9d22a20c024f10..89035b380b599abafdd50c1b850c7d789c07d714 100644
--- a/mojo/system/channel.cc
+++ b/mojo/system/channel.cc
@@ -67,7 +67,7 @@ void Channel::Shutdown() {
// things in an inconsistent state, which is worse. Note that if the map is
// nonempty, we probably won't be destroyed, since the endpoints have a
// reference to us.)
- LOG_IF(ERROR, local_id_to_endpoint_info_map_.empty())
+ LOG_IF(ERROR, !local_id_to_endpoint_info_map_.empty())
<< "Channel shutting down with endpoints still attached";
// TODO(vtl): This currently blows up, but the fix will be nontrivial.
// crbug.com/360081
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698