Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGForeignObject.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGForeignObject.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGForeignObject.cpp |
index 99ff2eb287621923159474a0993008f507c623a5..d4adbd1533cd0040706e49a65c7718b3d569057c 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGForeignObject.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGForeignObject.cpp |
@@ -94,7 +94,7 @@ void LayoutSVGForeignObject::computeLogicalHeight( |
} |
void LayoutSVGForeignObject::layout() { |
- ASSERT(needsLayout()); |
+ DCHECK(needsLayout()); |
SVGForeignObjectElement* foreign = toSVGForeignObjectElement(node()); |
@@ -118,7 +118,7 @@ void LayoutSVGForeignObject::layout() { |
bool layoutChanged = everHadLayout() && selfNeedsLayout(); |
LayoutBlock::layout(); |
- ASSERT(!needsLayout()); |
+ DCHECK(!needsLayout()); |
// If our bounds changed, notify the parents. |
if (!updateCachedBoundariesInParents) |