| Index: Source/modules/accessibility/AXLayoutObject.cpp
|
| diff --git a/Source/modules/accessibility/AXLayoutObject.cpp b/Source/modules/accessibility/AXLayoutObject.cpp
|
| index f1ca2df749ea94bc696413dc07ae1ee75562d896..63b98a2f16d6dff009536f948c0fd6faf42f08b4 100644
|
| --- a/Source/modules/accessibility/AXLayoutObject.cpp
|
| +++ b/Source/modules/accessibility/AXLayoutObject.cpp
|
| @@ -375,15 +375,12 @@ static bool isLinkable(const AXObject& object)
|
| return object.isLink() || object.isImage() || object.layoutObject()->isText();
|
| }
|
|
|
| +// Requires layoutObject to be present because it relies on style
|
| +// user-modify. Don't move this logic to AXNodeObject.
|
| +// TODO(nektar): Implement support in AXNodeObject for aria-hidden and canvas.
|
| bool AXLayoutObject::isRichlyEditable() const
|
| {
|
| - ASSERT(node());
|
| - ASSERT(m_layoutObject);
|
| -
|
| - // Requires m_layoutObject to be present because it relies on style
|
| - // user-modify. Don't move this logic to AXNodeObject.
|
| - // TODO(nektar): Implement support in AXNodeObject for aria-hidden and canvas.
|
| - if (node()->isContentRichlyEditable())
|
| + if (node() && node()->isContentRichlyEditable())
|
| return true;
|
|
|
| if (isWebArea()) {
|
|
|