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

Unified Diff: third_party/WebKit/Source/core/svg/properties/SVGProperty.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
Index: third_party/WebKit/Source/core/svg/properties/SVGProperty.h
diff --git a/third_party/WebKit/Source/core/svg/properties/SVGProperty.h b/third_party/WebKit/Source/core/svg/properties/SVGProperty.h
index 2538e50932d2f274747592d36702511506da9adf..948c03c8262e984724c049e987cfddd3796c0982 100644
--- a/third_party/WebKit/Source/core/svg/properties/SVGProperty.h
+++ b/third_party/WebKit/Source/core/svg/properties/SVGProperty.h
@@ -75,7 +75,7 @@ class SVGPropertyBase : public GarbageCollectedFinalized<SVGPropertyBase> {
void setOwnerList(SVGPropertyBase* ownerList) {
// Previous owner list must be cleared before setting new owner list.
- ASSERT((!ownerList && m_ownerList) || (ownerList && !m_ownerList));
+ DCHECK((!ownerList && m_ownerList) || (ownerList && !m_ownerList));
m_ownerList = ownerList;
}

Powered by Google App Engine
This is Rietveld 408576698