summaryrefslogtreecommitdiffstats
path: root/WebCore/page/AXObjectCache.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/page/AXObjectCache.h')
-rw-r--r--WebCore/page/AXObjectCache.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/WebCore/page/AXObjectCache.h b/WebCore/page/AXObjectCache.h
index 5e95f74..4fd6dc3 100644
--- a/WebCore/page/AXObjectCache.h
+++ b/WebCore/page/AXObjectCache.h
@@ -60,10 +60,13 @@ namespace WebCore {
~AXObjectCache();
// to be used with render objects
- AccessibilityObject* get(RenderObject*);
+ AccessibilityObject* getOrCreate(RenderObject*);
// used for objects without backing elements
- AccessibilityObject* get(AccessibilityRole);
+ AccessibilityObject* getOrCreate(AccessibilityRole);
+
+ // will only return the AccessibilityObject if it already exists
+ AccessibilityObject* get(RenderObject*);
void remove(RenderObject*);
void remove(AXID);