Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Unified Diff: third_party/WebKit/Source/core/dom/Element.cpp

Issue 2796553002: Revert of Initial skeleton of Accessibility Object Model Phase 1 (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.h ('k') | third_party/WebKit/Source/core/dom/Element.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Element.cpp
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
index 04767ec9b562cacd33e4f3d0dfa6099b57730937..9fb377c3297e3e41caa1aa75c6fcef95072b3dc4 100644
--- a/third_party/WebKit/Source/core/dom/Element.cpp
+++ b/third_party/WebKit/Source/core/dom/Element.cpp
@@ -1187,24 +1187,6 @@
return cache->get()->computedNameForNode(this);
}
-AccessibleNode* Element::existingAccessibleNode() const {
- if (!RuntimeEnabledFeatures::accessibilityObjectModelEnabled())
- return nullptr;
-
- if (!hasRareData())
- return nullptr;
-
- return elementRareData()->accessibleNode();
-}
-
-AccessibleNode* Element::accessibleNode() {
- if (!RuntimeEnabledFeatures::accessibilityObjectModelEnabled())
- return nullptr;
-
- ElementRareData& rareData = ensureElementRareData();
- return rareData.ensureAccessibleNode(this);
-}
-
const AtomicString& Element::getAttribute(const AtomicString& localName) const {
if (!elementData())
return nullAtom;
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.h ('k') | third_party/WebKit/Source/core/dom/Element.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698