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

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

Issue 2816033003: Replace ASSERT with DHCECK_op in platform/heap (Closed)
Patch Set: Replace ASSERT with CHECK_op in platform/heap Created 3 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
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 090e4669af68b1aa160d50fd9e3cc7a83494ed35..c207cf9b26a5ce0b5d271ef01c5f7b5676fbb5a0 100644
--- a/third_party/WebKit/Source/platform/heap/HeapLinkedStack.h
+++ b/third_party/WebKit/Source/platform/heap/HeapLinkedStack.h
@@ -98,7 +98,8 @@ inline const T& HeapLinkedStack<T>::Peek() {
template <typename T>
inline void HeapLinkedStack<T>::Pop() {
- ASSERT(head_ && size_);
+ DCHECK(head_);
+ DCHECK(size_);
head_ = head_->next_;
--size_;
}

Powered by Google App Engine
This is Rietveld 408576698