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

Unified Diff: third_party/WebKit/Source/platform/heap/ThreadState.h

Issue 2768923004: Remove redundant DCHECKs (Closed)
Patch Set: Created 3 years, 9 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 | « net/spdy/spdy_protocol.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/heap/ThreadState.h
diff --git a/third_party/WebKit/Source/platform/heap/ThreadState.h b/third_party/WebKit/Source/platform/heap/ThreadState.h
index 4807cfdc08bd4143c88361a02c0b9018e41ab24f..c4002b389ba0868eacc33e65f325d80bc79777a2 100644
--- a/third_party/WebKit/Source/platform/heap/ThreadState.h
+++ b/third_party/WebKit/Source/platform/heap/ThreadState.h
@@ -253,7 +253,7 @@ class PLATFORM_EXPORT ThreadState {
}
void enterGCForbiddenScope() { m_gcForbiddenCount++; }
void leaveGCForbiddenScope() {
- DCHECK_GE(m_gcForbiddenCount, 0u);
+ DCHECK_GT(m_gcForbiddenCount, 0u);
m_gcForbiddenCount--;
}
bool isMixinInConstruction() const { return m_mixinsBeingConstructedCount; }
« no previous file with comments | « net/spdy/spdy_protocol.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698