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

Unified Diff: webrtc/base/signalthread.h

Issue 2623473004: Replace all use of the VERIFY macro. (Closed)
Patch Set: Tweaks after reviewing diff to master. Created 3 years, 10 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
Index: webrtc/base/signalthread.h
diff --git a/webrtc/base/signalthread.h b/webrtc/base/signalthread.h
index befb02fb5befa20377a9502dbef23f53342e406e..dde9e3dcdd0ac639e09b841df2d8e6253da240f4 100644
--- a/webrtc/base/signalthread.h
+++ b/webrtc/base/signalthread.h
@@ -125,7 +125,7 @@ class SignalThread
t_->cs_.Enter();
// If refcount_ is zero then the object has already been deleted and we
// will be double-deleting it in ~EnterExit()! (shouldn't happen)
- RTC_DCHECK(t_->refcount_ != 0);
+ RTC_DCHECK_NE(t_->refcount_, 0);
++t_->refcount_;
}
~EnterExit() UNLOCK_FUNCTION() {

Powered by Google App Engine
This is Rietveld 408576698