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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXMenuListPopup.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/AXMenuListPopup.cpp
diff --git a/third_party/WebKit/Source/modules/accessibility/AXMenuListPopup.cpp b/third_party/WebKit/Source/modules/accessibility/AXMenuListPopup.cpp
index 7530e9516130584dd02481557aa85cce4c80dda5..b54df405e47fc905dc6cb1867f551725e0e0a4b4 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXMenuListPopup.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXMenuListPopup.cpp
@@ -61,7 +61,7 @@ bool AXMenuListPopup::computeAccessibilityIsIgnored(
AXMenuListOption* AXMenuListPopup::menuListOptionAXObject(
HTMLElement* element) const {
- ASSERT(element);
+ DCHECK(element);
if (!isHTMLOptionElement(*element))
return 0;
@@ -93,7 +93,7 @@ bool AXMenuListPopup::press() {
}
void AXMenuListPopup::addChildren() {
- ASSERT(!isDetached());
+ DCHECK(!isDetached());
if (!m_parent)
return;

Powered by Google App Engine
This is Rietveld 408576698