mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-05 22:05:40 +00:00
Null-check mBindingTable to avoid crash with some themes. b=143835 r=brendan sr=waterson
This commit is contained in:
parent
4f427aac6f
commit
3db6a04379
@ -1049,7 +1049,8 @@ PRBool PR_CALLBACK MarkForDeath(nsHashKey* aKey, void* aData, void* aClosure)
|
||||
NS_IMETHODIMP
|
||||
nsBindingManager::FlushSkinBindings()
|
||||
{
|
||||
mBindingTable->Enumerate(MarkForDeath);
|
||||
if (mBindingTable)
|
||||
mBindingTable->Enumerate(MarkForDeath);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user