Index: src/heap-snapshot-generator-inl.h |
diff --git a/src/heap-snapshot-generator-inl.h b/src/heap-snapshot-generator-inl.h |
index b4021ecafb44d23ee21755114fa74051fb038cc6..f7d87aa31b263fb7711c60388d7192ac9051ea3f 100644 |
--- a/src/heap-snapshot-generator-inl.h |
+++ b/src/heap-snapshot-generator-inl.h |
@@ -35,8 +35,8 @@ int HeapEntry::set_children_index(int index) { |
HeapGraphEdge** HeapEntry::children_arr() { |
- ASSERT(children_index_ >= 0); |
- SLOW_ASSERT(children_index_ < snapshot_->children().length() || |
+ DCHECK(children_index_ >= 0); |
+ SLOW_DCHECK(children_index_ < snapshot_->children().length() || |
(children_index_ == snapshot_->children().length() && |
children_count_ == 0)); |
return &snapshot_->children().first() + children_index_; |