Chromium Code Reviews| Index: third_party/WebKit/Source/core/svg/SVGPolyElement.cpp |
| diff --git a/third_party/WebKit/Source/core/svg/SVGPolyElement.cpp b/third_party/WebKit/Source/core/svg/SVGPolyElement.cpp |
| index 1e36c59eb375cb7a181916b10bbcd516fa943d1d..2c03dfd495b830201dab96135fb484567acb1f0f 100644 |
| --- a/third_party/WebKit/Source/core/svg/SVGPolyElement.cpp |
| +++ b/third_party/WebKit/Source/core/svg/SVGPolyElement.cpp |
| @@ -48,7 +48,7 @@ Path SVGPolyElement::asPathFromPoints() const { |
| SVGPointList::ConstIterator it = pointsValue->begin(); |
| SVGPointList::ConstIterator itEnd = pointsValue->end(); |
| - ASSERT(it != itEnd); |
| + DCHECK(it != itEnd); |
|
tkent
2017/03/14 22:33:14
Use DCHECK_NE if possible.
mrunal
2017/03/14 23:52:14
It throws an error,
../../base/logging.h:659:3: er
|
| path.moveTo(it->value()); |
| ++it; |