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

Unified Diff: third_party/WebKit/Source/core/dom/shadow/ShadowRootRareDataV0.h

Issue 2401523002: Replace ASSERT family with DCHECK and so on in core/dom/. (Closed)
Patch Set: Created 4 years, 2 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/dom/custom/V0CustomElementUpgradeCandidateMap.cpp ('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/dom/shadow/ShadowRootRareDataV0.h
diff --git a/third_party/WebKit/Source/core/dom/shadow/ShadowRootRareDataV0.h b/third_party/WebKit/Source/core/dom/shadow/ShadowRootRareDataV0.h
index 8f794c1dc079e8e8ae7c27c96cf18e23d1cd29ac..c5e73d44ed0029072c8785badff675690291d52b 100644
--- a/third_party/WebKit/Source/core/dom/shadow/ShadowRootRareDataV0.h
+++ b/third_party/WebKit/Source/core/dom/shadow/ShadowRootRareDataV0.h
@@ -102,7 +102,7 @@ inline void ShadowRootRareDataV0::didAddInsertionPoint(InsertionPoint* point) {
else if (isHTMLContentElement(*point))
++m_descendantContentElementCount;
else
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
inline void ShadowRootRareDataV0::didRemoveInsertionPoint(
@@ -115,7 +115,7 @@ inline void ShadowRootRareDataV0::didRemoveInsertionPoint(
DCHECK_GT(m_descendantContentElementCount, 0u);
--m_descendantContentElementCount;
} else {
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/custom/V0CustomElementUpgradeCandidateMap.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698