| Index: third_party/WebKit/Source/core/dom/AccessibleNode.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/AccessibleNode.cpp b/third_party/WebKit/Source/core/dom/AccessibleNode.cpp
|
| index 8e5437aaf2d5c3c11e96f8e183cf8a849af7bbe3..a8dd6c111a06a752f8f053130bee947a37b7df45 100644
|
| --- a/third_party/WebKit/Source/core/dom/AccessibleNode.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/AccessibleNode.cpp
|
| @@ -32,6 +32,20 @@ const AtomicString& AccessibleNode::GetProperty(Element* element,
|
| }
|
| }
|
|
|
| + return g_null_atom;
|
| +}
|
| +
|
| +// static
|
| +const AtomicString& AccessibleNode::GetPropertyOrARIAAttribute(
|
| + Element* element,
|
| + AOMStringProperty property) {
|
| + if (!element)
|
| + return g_null_atom;
|
| +
|
| + const AtomicString& result = GetProperty(element, property);
|
| + if (!result.IsNull())
|
| + return result;
|
| +
|
| // Fall back on the equivalent ARIA attribute.
|
| switch (property) {
|
| case AOMStringProperty::kAutocomplete:
|
|
|