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

Unified Diff: third_party/WebKit/Source/core/svg/SVGAngle.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGAnimateMotionElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/svg/SVGAngle.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGAngle.cpp b/third_party/WebKit/Source/core/svg/SVGAngle.cpp
index 3924f93e9427d586eade8ea938f4215207414017..5ed02636ae151aa118f6ec5f6d30e3c4378b431e 100644
--- a/third_party/WebKit/Source/core/svg/SVGAngle.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGAngle.cpp
@@ -58,7 +58,7 @@ DEFINE_TRACE(SVGMarkerOrientEnumeration) {
}
void SVGMarkerOrientEnumeration::notifyChange() {
- ASSERT(m_angle);
+ DCHECK(m_angle);
m_angle->orientTypeChanged();
}
@@ -391,7 +391,7 @@ void SVGAngle::calculateAnimatedValue(SVGAnimationElement* animationElement,
SVGPropertyBase* to,
SVGPropertyBase* toAtEndOfDuration,
SVGElement*) {
- ASSERT(animationElement);
+ DCHECK(animationElement);
bool isToAnimation = animationElement->getAnimationMode() == ToAnimation;
SVGAngle* fromAngle = isToAnimation ? this : toSVGAngle(from);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGAnimateMotionElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698