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

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

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/SVGParsingError.h
diff --git a/third_party/WebKit/Source/core/svg/SVGParsingError.h b/third_party/WebKit/Source/core/svg/SVGParsingError.h
index b0f4a35959c31f745aaebf6cd6f88385c53349aa..4777d02266b0bf5a5e55e502eb8916214c12640f 100644
--- a/third_party/WebKit/Source/core/svg/SVGParsingError.h
+++ b/third_party/WebKit/Source/core/svg/SVGParsingError.h
@@ -68,7 +68,7 @@ class SVGParsingError {
SVGParsingError(SVGParseStatus status = SVGParseStatus::NoError,
size_t locus = 0)
: m_status(static_cast<unsigned>(status)), m_locus(checkLocus(locus)) {
- ASSERT(this->status() == status);
+ DCHECK_EQ(this->status(), status);
}
SVGParseStatus status() const {
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGNumberOptionalNumber.cpp ('k') | third_party/WebKit/Source/core/svg/SVGParsingError.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698