mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 13:07:52 +00:00
Bug 1007604 - add additional null check; r=sicking
--HG-- extra : rebase_source : 6ea67b48610f7b56e1ab3e33a3a4a42bb33329f4
This commit is contained in:
parent
e1c350091f
commit
1bd84b4429
@ -1093,6 +1093,10 @@ nsViewManager::CallWillPaintOnObservers()
|
||||
{
|
||||
NS_PRECONDITION(IsRootVM(), "Must be root VM for this to be called!");
|
||||
|
||||
if (NS_WARN_IF(!gViewManagers)) {
|
||||
return;
|
||||
}
|
||||
|
||||
uint32_t index;
|
||||
for (index = 0; index < gViewManagers->Length(); index++) {
|
||||
nsViewManager* vm = gViewManagers->ElementAt(index);
|
||||
|
Loading…
x
Reference in New Issue
Block a user