зеркало из https://github.com/mozilla/pjs.git
Added null pointer check in case the root view pointer is null
This commit is contained in:
Родитель
ff26b4ea21
Коммит
cb06cb59b4
|
@ -449,7 +449,10 @@ NS_IMETHODIMP nsViewManager :: Composite()
|
|||
{
|
||||
// Walk the view hierarchy and for each view that has a non-empty
|
||||
// dirty region invalidate its associated widget
|
||||
UpdateDirtyViews(mRootView);
|
||||
if (nsnull != mRootView)
|
||||
{
|
||||
UpdateDirtyViews(mRootView);
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче