Bug 1210549 - Make proxied accessibles defunct when proxy dies r=tbsaunde

This commit is contained in:
James Teh 2015-10-01 16:47:04 -04:00 committed by Trevor Saunders
parent 9a687fd23b
commit 2d65b6dfc8

View File

@ -26,6 +26,7 @@ class ProxyAccessibleWrap : public AccessibleWrap
virtual void Shutdown() override
{
mBits.proxy = nullptr;
mStateFlags |= eIsDefunct;
}
};
@ -39,7 +40,11 @@ public:
mBits.proxy = aProxy;
}
virtual void Shutdown() override { mBits.proxy = nullptr; }
virtual void Shutdown() override
{
mBits.proxy = nullptr;
mStateFlags |= eIsDefunct;
}
};
class DocProxyAccessibleWrap : public HyperTextProxyAccessibleWrap