Index: Source/core/accessibility/AXObject.cpp |
diff --git a/Source/core/accessibility/AXObject.cpp b/Source/core/accessibility/AXObject.cpp |
index ecc304d821ff2c9b00473e8a786a625d634112a1..72f4d5106bc1224e583c3b30469cb0d59332aac9 100644 |
--- a/Source/core/accessibility/AXObject.cpp |
+++ b/Source/core/accessibility/AXObject.cpp |
@@ -404,20 +404,6 @@ bool AXObject::ariaPressedIsPresent() const |
return !getAttribute(aria_pressedAttr).isEmpty(); |
} |
-const AtomicString& AXObject::invalidStatus() const |
-{ |
- DEFINE_STATIC_LOCAL(const AtomicString, invalidStatusFalse, ("false", AtomicString::ConstructFromLiteral)); |
- |
- // aria-invalid can return false (default), grammer, spelling, or true. |
- const AtomicString& ariaInvalid = getAttribute(aria_invalidAttr); |
- |
- // If empty or not present, it should return false. |
- if (ariaInvalid.isEmpty()) |
- return invalidStatusFalse; |
- |
- return ariaInvalid; |
-} |
- |
bool AXObject::supportsARIAAttributes() const |
{ |
return supportsARIALiveRegion() |