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

Unified Diff: third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.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/SVGPathByteStreamSource.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.cpp b/third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.cpp
index 01b3912071f1c8b9935419a7e19d29bc39784739..b1d2b15bc69a175a08262e064b963fb1be36489b 100644
--- a/third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.cpp
@@ -22,7 +22,7 @@
namespace blink {
PathSegmentData SVGPathByteStreamSource::parseSegment() {
- ASSERT(hasMoreData());
+ DCHECK(hasMoreData());
PathSegmentData segment;
segment.command = static_cast<SVGPathSegType>(readSVGSegmentType());
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.h ('k') | third_party/WebKit/Source/core/svg/SVGPathParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698