Chromium Code Reviews| Index: third_party/WebKit/Source/core/svg/SVGPathStringBuilder.cpp |
| diff --git a/third_party/WebKit/Source/core/svg/SVGPathStringBuilder.cpp b/third_party/WebKit/Source/core/svg/SVGPathStringBuilder.cpp |
| index 2443876739fde99f589b10185d7d081512244357..a02976442f07b7025f93ab6374dac574d5f008cc 100644 |
| --- a/third_party/WebKit/Source/core/svg/SVGPathStringBuilder.cpp |
| +++ b/third_party/WebKit/Source/core/svg/SVGPathStringBuilder.cpp |
| @@ -74,7 +74,7 @@ static const char pathSegmentCharacter[] = { |
| }; |
| void SVGPathStringBuilder::emitSegment(const PathSegmentData& segment) { |
| - ASSERT(segment.command > PathSegUnknown && |
| + DCHECK(segment.command > PathSegUnknown && |
|
tkent
2017/03/14 22:33:14
Split it to two DCHECKs.
DCHECK_GT(segment.comma
mrunal
2017/03/14 23:52:14
Done.
|
| segment.command <= PathSegCurveToQuadraticSmoothRel); |
| m_stringBuilder.append(pathSegmentCharacter[segment.command]); |