| Index: Source/modules/accessibility/AXObject.cpp
|
| diff --git a/Source/modules/accessibility/AXObject.cpp b/Source/modules/accessibility/AXObject.cpp
|
| index 21eb762cd0146c48d5b545358409f72b0fd92892..0a627524f3b318a9a5c533198610df587c241aec 100644
|
| --- a/Source/modules/accessibility/AXObject.cpp
|
| +++ b/Source/modules/accessibility/AXObject.cpp
|
| @@ -369,6 +369,8 @@ HTMLDialogElement* getActiveDialogElement(Node* node)
|
|
|
| } // namespace
|
|
|
| +unsigned AXObject::s_instanceCount = 0;
|
| +
|
| AXObject::AXObject(AXObjectCacheImpl* axObjectCache)
|
| : m_id(0)
|
| , m_haveChildren(false)
|
| @@ -386,11 +388,13 @@ AXObject::AXObject(AXObjectCacheImpl* axObjectCache)
|
| , m_cachedLiveRegionRoot(0)
|
| , m_axObjectCache(axObjectCache)
|
| {
|
| + ++s_instanceCount;
|
| }
|
|
|
| AXObject::~AXObject()
|
| {
|
| ASSERT(isDetached());
|
| + --s_instanceCount;
|
| }
|
|
|
| void AXObject::detach()
|
|
|