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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXObject.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/AXObject.cpp
diff --git a/third_party/WebKit/Source/modules/accessibility/AXObject.cpp b/third_party/WebKit/Source/modules/accessibility/AXObject.cpp
index 5906d71780f99af00ece316cd4fa74588aff71af..3d6d1fe88deec7c2e178ecf6ba07b1f8cd8d394d 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXObject.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXObject.cpp
@@ -364,7 +364,7 @@ AXObject::AXObject(AXObjectCacheImpl& axObjectCache)
}
AXObject::~AXObject() {
- ASSERT(isDetached());
+ DCHECK(isDetached());
--s_numberOfLiveAXObjects;
}
@@ -1672,7 +1672,7 @@ bool AXObject::isARIAInput(AccessibilityRole ariaRole) {
}
AccessibilityRole AXObject::ariaRoleToWebCoreRole(const String& value) {
- ASSERT(!value.isEmpty());
+ DCHECK(!value.isEmpty());
static const ARIARoleMap* roleMap = createARIARoleMap();

Powered by Google App Engine
This is Rietveld 408576698