Check mRootView in RenderViews to fix a crash with Photon. Patch from Jerry.Kirk@Nexwarecorp.com.

This commit is contained in:
pierre%netscape.com 1999-05-18 14:37:57 +00:00
Родитель f0ff878dfb
Коммит 58fc86907f
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -598,7 +598,7 @@ void nsViewManager :: RenderViews(nsIView *aRootView, nsIRenderingContext& aRC,
nsRegionRectSet onerect, *rectset;
//printf("begin paint\n");
if (nsnull != aRootView)
if (aRootView && mRootView)
{
nscoord ox = 0, oy = 0;