mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1210549 - Make proxied accessibles defunct when proxy dies r=tbsaunde
This commit is contained in:
parent
9a687fd23b
commit
2d65b6dfc8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user