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

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

Issue 2828013002: Replace DCHECK with DCHECK_EQ and DCHECK_GT as appropriate 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/AXNodeObject.cpp
diff --git a/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp b/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp
index f86ae486d9f6e5ae378eafea59f848b3f3b88182..d81c773099cf850629bcff79d7aac6fa982fd76b 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp
@@ -2210,7 +2210,7 @@ void AXNodeObject::InsertChild(AXObject* child, unsigned index) {
for (size_t i = 0; i < length; ++i)
children_.insert(index + i, children[i]);
} else {
- DCHECK(child->ParentObject() == this);
+ DCHECK_EQ(child->ParentObject(), this);
children_.insert(index, child);
}
}

Powered by Google App Engine
This is Rietveld 408576698