mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
bug 1326084 - fixup shutting down a ProxyAccessible with no child doc
This commit is contained in:
parent
b4bb4efe0f
commit
8765a50df4
@ -39,7 +39,7 @@ ProxyAccessibleBase<Derived>::Shutdown()
|
||||
for (uint32_t idx = 0; idx < childCount; idx++)
|
||||
mChildren[idx]->Shutdown();
|
||||
} else {
|
||||
if (mChildren.Length() != 1)
|
||||
if (mChildren.Length() > 1)
|
||||
MOZ_CRASH("outer doc doesn't own adoc!");
|
||||
|
||||
mChildren[0]->AsDoc()->Unbind();
|
||||
|
Loading…
Reference in New Issue
Block a user