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

Unified Diff: third_party/WebKit/Source/core/svg/SVGBoolean.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/SVGBoolean.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGBoolean.cpp b/third_party/WebKit/Source/core/svg/SVGBoolean.cpp
index a2dcb2c94db3a6bb7af2ba4561ec9a780216de4a..11cca3f2ba41b803a10f7d1a1999c10dad90b0cc 100644
--- a/third_party/WebKit/Source/core/svg/SVGBoolean.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGBoolean.cpp
@@ -61,7 +61,7 @@ void SVGBoolean::calculateAnimatedValue(SVGAnimationElement* animationElement,
SVGPropertyBase* to,
SVGPropertyBase*,
SVGElement*) {
- ASSERT(animationElement);
+ DCHECK(animationElement);
bool fromBoolean = animationElement->getAnimationMode() == ToAnimation
? m_value
: toSVGBoolean(from)->value();

Powered by Google App Engine
This is Rietveld 408576698