| Index: Source/modules/accessibility/AXNodeObject.cpp
|
| diff --git a/Source/modules/accessibility/AXNodeObject.cpp b/Source/modules/accessibility/AXNodeObject.cpp
|
| index ae9eba66488eff179659eb9ce08639418b902f4d..aa07f6cc1a203bcd90ddb3ee9a82529018e55cb9 100644
|
| --- a/Source/modules/accessibility/AXNodeObject.cpp
|
| +++ b/Source/modules/accessibility/AXNodeObject.cpp
|
| @@ -1922,6 +1922,7 @@ static Node* getParentNodeForComputeParent(Node* node)
|
|
|
| AXObject* AXNodeObject::computeParent() const
|
| {
|
| + ASSERT(!isDetached());
|
| if (Node* parentNode = getParentNodeForComputeParent(node()))
|
| return axObjectCache().getOrCreate(parentNode);
|
|
|
| @@ -1963,6 +1964,7 @@ AXObject* AXNodeObject::nextSibling() const
|
|
|
| void AXNodeObject::addChildren()
|
| {
|
| + ASSERT(!isDetached());
|
| // If the need to add more children in addition to existing children arises,
|
| // childrenChanged should have been called, leaving the object with no children.
|
| ASSERT(!m_haveChildren);
|
|
|