Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.h |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.h |
index 42ae1718d8079691b824bdead98ef9d6c4ca5623..082573f3b2a0aaea0b5cae61612b5f01253aed35 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.h |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.h |
@@ -40,11 +40,11 @@ class LayoutSVGContainer : public LayoutSVGModelObject { |
void slowLastChild() const = delete; |
LayoutObject* firstChild() const { |
- ASSERT(children() == virtualChildren()); |
+ DCHECK_EQ(children(), virtualChildren()); |
return children()->firstChild(); |
} |
LayoutObject* lastChild() const { |
- ASSERT(children() == virtualChildren()); |
+ DCHECK_EQ(children(), virtualChildren()); |
return children()->lastChild(); |
} |