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

Unified Diff: third_party/WebKit/Source/core/svg/SVGStaticStringList.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/SVGStaticStringList.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGStaticStringList.cpp b/third_party/WebKit/Source/core/svg/SVGStaticStringList.cpp
index 97c94c90f20a0e80c29eeeb21d10cbf07d13d75a..6dd5657824328bc1a228759500b3efec444d9161 100644
--- a/third_party/WebKit/Source/core/svg/SVGStaticStringList.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGStaticStringList.cpp
@@ -39,7 +39,7 @@ SVGStaticStringList::SVGStaticStringList(SVGElement* contextElement,
const QualifiedName& attributeName)
: SVGAnimatedPropertyBase(AnimatedUnknown, contextElement, attributeName),
m_value(SVGStringList::create()) {
- ASSERT(contextElement);
+ DCHECK(contextElement);
}
SVGStaticStringList::~SVGStaticStringList() {}

Powered by Google App Engine
This is Rietveld 408576698