зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1421478: Clarify comment in handlerDataCleanup.h. r=aklotz
MozReview-Commit-ID: EVzuqVMl7Ck --HG-- extra : rebase_source : ebcad7cbc5ed49417ece2d9b220d52488ee28732
This commit is contained in:
Родитель
d4489c8a64
Коммит
e9098869dd
|
@ -16,8 +16,10 @@ namespace a11y {
|
|||
inline void
|
||||
ReleaseStaticIA2DataInterfaces(StaticIA2Data& aData)
|
||||
{
|
||||
// Only interfaces of the IA2 object should be released here, never other
|
||||
// objects!
|
||||
// Only interfaces of the proxied object wrapped by this handler should be
|
||||
// released here, never other objects!
|
||||
// For example, if StaticIA2Data were to include accParent in future,
|
||||
// that must not be released here.
|
||||
if (aData.mIA2) {
|
||||
aData.mIA2->Release();
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче