| Index: third_party/WebKit/Source/modules/accessibility/AXObject.cpp
|
| diff --git a/third_party/WebKit/Source/modules/accessibility/AXObject.cpp b/third_party/WebKit/Source/modules/accessibility/AXObject.cpp
|
| index da4d72af218316f257065688ce9d7808d3255574..ff05360bc8c1bc8986b3c8be1741c74801299c02 100644
|
| --- a/third_party/WebKit/Source/modules/accessibility/AXObject.cpp
|
| +++ b/third_party/WebKit/Source/modules/accessibility/AXObject.cpp
|
| @@ -512,6 +512,7 @@ void AXObject::updateCachedAttributeValuesIfNeeded() const
|
| return;
|
|
|
| m_lastModificationCount = cache.modificationCount();
|
| + m_cachedBackgroundColor = computeBackgroundColor();
|
| m_cachedIsInertOrAriaHidden = computeIsInertOrAriaHidden();
|
| m_cachedIsDescendantOfLeafNode = (leafNodeAncestor() != 0);
|
| m_cachedIsDescendantOfDisabledNode = (disabledAncestor() != 0);
|
| @@ -924,6 +925,12 @@ String AXObject::textFromAriaDescribedby(AXRelatedObjectVector* relatedObjects)
|
| return textFromElements(true, visited, elements, relatedObjects);
|
| }
|
|
|
| +RGBA32 AXObject::backgroundColor() const
|
| +{
|
| + updateCachedAttributeValuesIfNeeded();
|
| + return m_cachedBackgroundColor;
|
| +}
|
| +
|
| AccessibilityOrientation AXObject::orientation() const
|
| {
|
| // In ARIA 1.1, the default value for aria-orientation changed from
|
|
|