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

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

Issue 1305353011: Use WTF ASSERT in AXNodeObject.cpp. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXNodeObject.cpp
diff --git a/Source/modules/accessibility/AXNodeObject.cpp b/Source/modules/accessibility/AXNodeObject.cpp
index fe3d6ed2bc2e045e42a33b499007d597a5b7d4b3..487a99f55861c0ee4bb1ed9a0b2e664a9af591bb 100644
--- a/Source/modules/accessibility/AXNodeObject.cpp
+++ b/Source/modules/accessibility/AXNodeObject.cpp
@@ -1805,7 +1805,7 @@ String AXNodeObject::textAlternative(bool recursive, bool inAriaLabelledByTraver
{
// If nameSources is non-null, nameObjects is used in filling it in, so it must be non-null as well.
if (nameSources)
- assert(nameObjects);
+ ASSERT(nameObjects);
bool alreadyVisited = visited.contains(this);
bool foundTextAlternative = false;
@@ -2516,7 +2516,7 @@ String AXNodeObject::nativeTextAlternative(AXObjectSet& visited, AXNameFrom& nam
// If nameSources is non-null, nameObjects is used in filling it in, so it must be non-null as well.
if (nameSources)
- assert(nameObjects);
+ ASSERT(nameObjects);
String textAlternative;
AXObjectVector localNameObjects;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698