Bug 1421478: Clarify comment in handlerDataCleanup.h. r=aklotz

MozReview-Commit-ID: EVzuqVMl7Ck

--HG--
extra : rebase_source : ebcad7cbc5ed49417ece2d9b220d52488ee28732
This commit is contained in:
James Teh 2017-11-29 10:18:01 +10:00
Родитель d4489c8a64
Коммит e9098869dd
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -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();
}