| 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;
|
|
|