Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp |
index cccc5d4ad751adc98578dab585b9fd5cedace508..6ed0b30bf94ebeb426ca17e7fca9fd9f3cac99a7 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp |
@@ -117,7 +117,7 @@ bool LayoutSVGImage::updateBoundingBox() { |
} |
void LayoutSVGImage::layout() { |
- ASSERT(needsLayout()); |
+ DCHECK(needsLayout()); |
LayoutAnalyzer::Scope analyzer(*this); |
// Invalidate all resources of this client if our layout changed. |
@@ -145,8 +145,8 @@ void LayoutSVGImage::layout() { |
if (updateParentBoundaries) |
LayoutSVGModelObject::setNeedsBoundariesUpdate(); |
- ASSERT(!m_needsBoundariesUpdate); |
- ASSERT(!m_needsTransformUpdate); |
+ DCHECK(!m_needsBoundariesUpdate); |
+ DCHECK(!m_needsTransformUpdate); |
clearNeedsLayout(); |
} |