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 f086de9888
commit c9163dc0c7

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