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/SVGMarkerElement.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/SVGMarkerElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp b/third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp
index 1925c5d5e59fc56389542a6a9cc0e2bc35285264..72aaaaad87cdd166017ea15397bef4960faf9401 100644
--- a/third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp
@@ -142,7 +142,7 @@ void SVGMarkerElement::setOrientToAuto() {
}
void SVGMarkerElement::setOrientToAngle(SVGAngleTearOff* angle) {
- ASSERT(angle);
+ DCHECK(angle);
SVGAngle* target = angle->target();
setAttribute(SVGNames::orientAttr, AtomicString(target->valueAsString()));
}
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGMPathElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGMatrixTearOff.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698