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

Unified Diff: third_party/WebKit/Source/core/svg/SVGIntegerOptionalInteger.cpp

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/SVGIntegerOptionalInteger.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGIntegerOptionalInteger.cpp b/third_party/WebKit/Source/core/svg/SVGIntegerOptionalInteger.cpp
index 85ccecc00ceccb9f86381d7741ed5f5ea90a8c73..f8f74804c627343e67028e06c876769036c1f386 100644
--- a/third_party/WebKit/Source/core/svg/SVGIntegerOptionalInteger.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGIntegerOptionalInteger.cpp
@@ -101,7 +101,7 @@ void SVGIntegerOptionalInteger::calculateAnimatedValue(
SVGPropertyBase* to,
SVGPropertyBase* toAtEndOfDuration,
SVGElement*) {
- ASSERT(animationElement);
+ DCHECK(animationElement);
SVGIntegerOptionalInteger* fromInteger = toSVGIntegerOptionalInteger(from);
SVGIntegerOptionalInteger* toInteger = toSVGIntegerOptionalInteger(to);

Powered by Google App Engine
This is Rietveld 408576698