Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h |
index a410c11e3326bf1f99d0e36a9796ba4443d61e90..033a843cf6efea8b2201e6a7ff3b2ca00ff14391 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h |
@@ -45,11 +45,11 @@ class CORE_EXPORT LayoutSVGRoot final : public LayoutReplaced { |
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(); |
} |