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

Unified Diff: third_party/WebKit/Source/core/svg/SVGInteger.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/SVGInteger.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGInteger.cpp b/third_party/WebKit/Source/core/svg/SVGInteger.cpp
index f52a47986b80b9d5cc23836b7b7bc32387813713..91983922e291f8f52d54ccecd576b9adc5c787bb 100644
--- a/third_party/WebKit/Source/core/svg/SVGInteger.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGInteger.cpp
@@ -68,7 +68,7 @@ void SVGInteger::calculateAnimatedValue(SVGAnimationElement* animationElement,
SVGPropertyBase* to,
SVGPropertyBase* toAtEndOfDuration,
SVGElement*) {
- ASSERT(animationElement);
+ DCHECK(animationElement);
SVGInteger* fromInteger = toSVGInteger(from);
SVGInteger* toInteger = toSVGInteger(to);

Powered by Google App Engine
This is Rietveld 408576698