| 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..eac13c3dc74933a73e4c9347c832aba628775c4b 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGPathStringBuilder.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGPathStringBuilder.cpp
|
| @@ -74,8 +74,8 @@ static const char pathSegmentCharacter[] = {
|
| };
|
|
|
| void SVGPathStringBuilder::emitSegment(const PathSegmentData& segment) {
|
| - ASSERT(segment.command > PathSegUnknown &&
|
| - segment.command <= PathSegCurveToQuadraticSmoothRel);
|
| + DCHECK_GT(segment.command, PathSegUnknown);
|
| + DCHECK_LE(segment.command, PathSegCurveToQuadraticSmoothRel);
|
| m_stringBuilder.append(pathSegmentCharacter[segment.command]);
|
|
|
| switch (segment.command) {
|
|
|