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

Unified Diff: third_party/WebKit/Source/core/svg/SVGPathParser.h

Issue 2738863002: Replace ASSERT with DCHECK in core/svg/ (Closed)
Patch Set: static_cast<unsigned>(1) > 1u 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/SVGPathParser.h
diff --git a/third_party/WebKit/Source/core/svg/SVGPathParser.h b/third_party/WebKit/Source/core/svg/SVGPathParser.h
index 7d312e6e79c26130949e96d8634c506558405abb..ea403e6781389aa9d84c19dafac1c0fe5ffb88a3 100644
--- a/third_party/WebKit/Source/core/svg/SVGPathParser.h
+++ b/third_party/WebKit/Source/core/svg/SVGPathParser.h
@@ -54,7 +54,7 @@ class SVGPathNormalizer {
public:
SVGPathNormalizer(SVGPathConsumer* consumer)
: m_consumer(consumer), m_lastCommand(PathSegUnknown) {
- ASSERT(m_consumer);
+ DCHECK(m_consumer);
}
void emitSegment(const PathSegmentData&);

Powered by Google App Engine
This is Rietveld 408576698