| Index: third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
|
| diff --git a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
|
| index 33a802fb36600ba0a3a9e195d493330c33d30ab3..5b3ea2c4647ec9d2185a2ae54c68b393ba12b969 100644
|
| --- a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
|
| @@ -494,10 +494,10 @@ bool AXLayoutObject::isReadOnly() const
|
| if (isWebArea()) {
|
| Document& document = m_layoutObject->document();
|
| HTMLElement* body = document.body();
|
| - if (body && body->hasEditableStyle())
|
| + if (body && hasEditableStyle(*body))
|
| return false;
|
|
|
| - return !document.hasEditableStyle();
|
| + return !hasEditableStyle(document);
|
| }
|
|
|
| return AXNodeObject::isReadOnly();
|
|
|