Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGPath.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGPath.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGPath.cpp |
index a11a7fa92fce999ef9ed63f938d72a32a4bb369e..ae85a150017db19251308863b946d3b0dae609e6 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGPath.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGPath.cpp |
@@ -87,16 +87,16 @@ FloatRect LayoutSVGPath::calculateUpdatedStrokeBoundingBox() const { |
} |
FloatRect LayoutSVGPath::markerRect(float strokeWidth) const { |
- ASSERT(!m_markerPositions.isEmpty()); |
+ DCHECK(!m_markerPositions.isEmpty()); |
SVGResources* resources = |
SVGResourcesCache::cachedResourcesForLayoutObject(this); |
- ASSERT(resources); |
+ DCHECK(resources); |
LayoutSVGResourceMarker* markerStart = resources->markerStart(); |
LayoutSVGResourceMarker* markerMid = resources->markerMid(); |
LayoutSVGResourceMarker* markerEnd = resources->markerEnd(); |
- ASSERT(markerStart || markerMid || markerEnd); |
+ DCHECK(markerStart || markerMid || markerEnd); |
FloatRect boundaries; |
unsigned size = m_markerPositions.size(); |
@@ -134,7 +134,7 @@ void LayoutSVGPath::processMarkerPositions() { |
SVGResources* resources = |
SVGResourcesCache::cachedResourcesForLayoutObject(this); |
- ASSERT(resources); |
+ DCHECK(resources); |
LayoutSVGResourceMarker* markerStart = resources->markerStart(); |