Index: third_party/WebKit/Source/core/layout/SubtreeLayoutScope.cpp |
diff --git a/third_party/WebKit/Source/core/layout/SubtreeLayoutScope.cpp b/third_party/WebKit/Source/core/layout/SubtreeLayoutScope.cpp |
index a804673647f26f3c393bba2a95e59c596b5cefc6..b79ac222f51cdb319b32a0f0adf8524c59ecbac0 100644 |
--- a/third_party/WebKit/Source/core/layout/SubtreeLayoutScope.cpp |
+++ b/third_party/WebKit/Source/core/layout/SubtreeLayoutScope.cpp |
@@ -51,12 +51,12 @@ SubtreeLayoutScope::~SubtreeLayoutScope() { |
void SubtreeLayoutScope::setNeedsLayout( |
LayoutObject* descendant, |
LayoutInvalidationReasonForTracing reason) { |
- ASSERT(descendant->isDescendantOf(&m_root)); |
+ DCHECK(descendant->isDescendantOf(&m_root)); |
descendant->setNeedsLayout(reason, MarkContainerChain, this); |
} |
void SubtreeLayoutScope::setChildNeedsLayout(LayoutObject* descendant) { |
- ASSERT(descendant->isDescendantOf(&m_root)); |
+ DCHECK(descendant->isDescendantOf(&m_root)); |
descendant->setChildNeedsLayout(MarkContainerChain, this); |
} |