bug 1191433 - use ProxyAccessible::AsDoc() in ProxyAccessible::Shutdown() r=lsocks

This commit is contained in:
Trevor Saunders 2015-08-05 13:50:39 -04:00
parent 5a8f34f3cb
commit 6fc63e31e9

View File

@ -33,7 +33,7 @@ ProxyAccessible::Shutdown()
if (mChildren.Length() != 1)
MOZ_CRASH("outer doc doesn't own adoc!");
static_cast<DocAccessibleParent*>(mChildren[0])->Unbind();
mChildren[0]->AsDoc()->Unbind();
}
mChildren.Clear();