| Index: Source/modules/accessibility/AXObject.h
|
| diff --git a/Source/modules/accessibility/AXObject.h b/Source/modules/accessibility/AXObject.h
|
| index 1fa46b3d1990e4d919b171cf63a6b0299dc030a8..165d9d8db7fe9e59578c8da5710e54240c180475 100644
|
| --- a/Source/modules/accessibility/AXObject.h
|
| +++ b/Source/modules/accessibility/AXObject.h
|
| @@ -374,7 +374,7 @@ public:
|
| };
|
|
|
| protected:
|
| - AXObject(AXObjectCacheImpl*);
|
| + AXObject(AXObjectCacheImpl&);
|
|
|
| public:
|
| virtual ~AXObject();
|
| @@ -394,7 +394,11 @@ public:
|
| virtual void setParent(AXObject* parent) { m_parent = parent; }
|
|
|
| // The AXObjectCacheImpl that owns this object, and its unique ID within this cache.
|
| - AXObjectCacheImpl* axObjectCache() const { return m_axObjectCache; }
|
| + AXObjectCacheImpl& axObjectCache() const
|
| + {
|
| + ASSERT(m_axObjectCache);
|
| + return *m_axObjectCache;
|
| + }
|
|
|
| AXID axObjectID() const { return m_id; }
|
|
|
| @@ -771,8 +775,6 @@ protected:
|
|
|
| unsigned getLengthForTextRange() const { return text().length(); }
|
|
|
| - bool m_detached;
|
| -
|
| mutable AXObject* m_parent;
|
|
|
| // The following cached attribute values (the ones starting with m_cached*)
|
|
|