Added null pointer check for mRootView in Composite()
git-svn-id: svn://10.0.0.236/trunk@2949 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -346,7 +346,7 @@ printf("unable to get rc\n");
|
||||
|
||||
void nsViewManager :: Composite()
|
||||
{
|
||||
if (mDirtyRect.IsEmpty() == PR_FALSE)
|
||||
if ((nsnull != mRootView) && (mDirtyRect.IsEmpty() == PR_FALSE))
|
||||
Refresh(mRootView, nsnull, &mDirtyRect, NS_VMREFRESH_DOUBLE_BUFFER);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user