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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXTable.cpp

Issue 2804383002: Replace ASSERT with DCHECK in modules/accessibility (Closed)
Patch Set: Created 3 years, 8 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/modules/accessibility/AXTable.cpp
diff --git a/third_party/WebKit/Source/modules/accessibility/AXTable.cpp b/third_party/WebKit/Source/modules/accessibility/AXTable.cpp
index 5f14c3914b1a00dc46fb597dd57c98d2176f9e9f..46029d36373736c3a1ee94e81f7e10b9611c1c40 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXTable.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXTable.cpp
@@ -364,13 +364,13 @@ void AXTable::clearChildren() {
}
void AXTable::addChildren() {
- ASSERT(!isDetached());
+ DCHECK(!isDetached());
if (!isAXTable()) {
AXLayoutObject::addChildren();
return;
}
- ASSERT(!m_haveChildren);
+ DCHECK(!m_haveChildren);
m_haveChildren = true;
if (!m_layoutObject || !m_layoutObject->isTable())

Powered by Google App Engine
This is Rietveld 408576698