Index: third_party/WebKit/Source/core/layout/DepthOrderedLayoutObjectList.cpp |
diff --git a/third_party/WebKit/Source/core/layout/DepthOrderedLayoutObjectList.cpp b/third_party/WebKit/Source/core/layout/DepthOrderedLayoutObjectList.cpp |
index 1dd24049348b2da5cf15f43419a67c4ccb1970f0..566eff04475c56b5729b3fa281d28f8fe9fba02f 100644 |
--- a/third_party/WebKit/Source/core/layout/DepthOrderedLayoutObjectList.cpp |
+++ b/third_party/WebKit/Source/core/layout/DepthOrderedLayoutObjectList.cpp |
@@ -37,7 +37,7 @@ bool DepthOrderedLayoutObjectList::isEmpty() const { |
} |
void DepthOrderedLayoutObjectList::add(LayoutObject& object) { |
- ASSERT(!object.frameView()->isInPerformLayout()); |
+ DCHECK(!object.frameView()->isInPerformLayout()); |
m_data->m_objects.insert(&object); |
m_data->m_orderedObjects.clear(); |
} |
@@ -46,7 +46,7 @@ void DepthOrderedLayoutObjectList::remove(LayoutObject& object) { |
auto it = m_data->m_objects.find(&object); |
if (it == m_data->m_objects.end()) |
return; |
- ASSERT(!object.frameView()->isInPerformLayout()); |
+ DCHECK(!object.frameView()->isInPerformLayout()); |
m_data->m_objects.erase(it); |
m_data->m_orderedObjects.clear(); |
} |