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

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

Issue 2619493003: Replace ASSERTs in platform/heap/ with DCHECKs
Patch Set: temp Created 3 years, 11 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: third_party/WebKit/Source/platform/heap/HeapLinkedStack.h
diff --git a/third_party/WebKit/Source/platform/heap/HeapLinkedStack.h b/third_party/WebKit/Source/platform/heap/HeapLinkedStack.h
index e91df969b5747587e3513b70d6fd219f47b0aed4..9ade8894403c284df6d2282dd64f200b999b7455 100644
--- a/third_party/WebKit/Source/platform/heap/HeapLinkedStack.h
+++ b/third_party/WebKit/Source/platform/heap/HeapLinkedStack.h
@@ -92,7 +92,7 @@ inline const T& HeapLinkedStack<T>::peek() {
template <typename T>
inline void HeapLinkedStack<T>::pop() {
- ASSERT(m_head && m_size);
+ DCHECK(m_head && m_size);
m_head = m_head->m_next;
--m_size;
}

Powered by Google App Engine
This is Rietveld 408576698