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

Unified Diff: third_party/WebKit/Source/core/svg/properties/SVGPropertyTearOff.h

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 | « third_party/WebKit/Source/core/svg/properties/SVGProperty.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/svg/properties/SVGPropertyTearOff.h
diff --git a/third_party/WebKit/Source/core/svg/properties/SVGPropertyTearOff.h b/third_party/WebKit/Source/core/svg/properties/SVGPropertyTearOff.h
index ff916e38e02f5a5a7122da57000e35fdd1648ae9..dd552da40757ff8b7036b669cb248a782b9a76f3 100644
--- a/third_party/WebKit/Source/core/svg/properties/SVGPropertyTearOff.h
+++ b/third_party/WebKit/Source/core/svg/properties/SVGPropertyTearOff.h
@@ -62,9 +62,9 @@ class SVGPropertyTearOffBase
void attachToSVGElementAttribute(SVGElement* contextElement,
const QualifiedName& attributeName) {
- ASSERT(!isImmutable());
- ASSERT(contextElement);
- ASSERT(attributeName != QualifiedName::null());
+ DCHECK(!isImmutable());
+ DCHECK(contextElement);
+ DCHECK(attributeName != QualifiedName::null());
m_contextElement = contextElement;
m_attributeName = attributeName;
}
@@ -122,7 +122,7 @@ class SVGPropertyTearOff : public SVGPropertyTearOffBase {
propertyIsAnimVal,
attributeName),
m_target(target) {
- ASSERT(m_target);
+ DCHECK(m_target);
}
private:
« no previous file with comments | « third_party/WebKit/Source/core/svg/properties/SVGProperty.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698