зеркало из https://github.com/mozilla/gecko-dev.git
Bug 741053 - crash in nsIDocument::GetRootElement, r=tbsaunde
This commit is contained in:
Родитель
89f692fa09
Коммит
0b55bab3d2
|
@ -44,8 +44,12 @@
|
|||
nsNativeRootAccessibleWrap::nsNativeRootAccessibleWrap(AtkObject *aAccessible):
|
||||
nsRootAccessible(nsnull, nsnull, nsnull)
|
||||
{
|
||||
g_object_ref(aAccessible);
|
||||
mAtkObject = aAccessible;
|
||||
// XXX: mark the object as defunct to ensure no single internal method is
|
||||
// running on it.
|
||||
mFlags |= eIsDefunct;
|
||||
|
||||
g_object_ref(aAccessible);
|
||||
mAtkObject = aAccessible;
|
||||
}
|
||||
|
||||
nsNativeRootAccessibleWrap::~nsNativeRootAccessibleWrap()
|
||||
|
|
Загрузка…
Ссылка в новой задаче