Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: third_party/WebKit/Source/core/svg/SVGPolyElement.cpp

Issue 2738863002: Replace ASSERT with DCHECK in core/svg/ (Closed)
Patch Set: Split DCHECKS wherever possible Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
path.moveTo(it->value());
++it;

Powered by Google App Engine
This is Rietveld 408576698