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

Unified Diff: third_party/WebKit/Source/core/svg/SVGPathQuery.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/SVGPathQuery.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGPathQuery.cpp b/third_party/WebKit/Source/core/svg/SVGPathQuery.cpp
index 411ca9087fc8d097f21141690f1a6694357665af..b14e83499f939878e5959e3b921d2b989ef26624 100644
--- a/third_party/WebKit/Source/core/svg/SVGPathQuery.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGPathQuery.cpp
@@ -91,7 +91,7 @@ void executeQuery(const SVGPathByteStream& pathByteStream,
bool hasMoreData = source.hasMoreData();
while (hasMoreData) {
PathSegmentData segment = source.parseSegment();
- ASSERT(segment.command != PathSegUnknown);
+ DCHECK_NE(segment.command, PathSegUnknown);
normalizer.emitSegment(segment);
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGPathParser.h ('k') | third_party/WebKit/Source/core/svg/SVGPathStringBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698