Bug 323740 - "Crash [@ nsViewManager::UpdateWidgetsForView]" [p=hskupin@gmail.com (Henrik Skupin) r+sr=roc a1.9=schrep]

git-svn-id: svn://10.0.0.236/trunk@243429 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
reed%reedloden.com 2008-01-18 09:10:37 +00:00
parent 04fe60d200
commit 6a3f9d2982

View File

@ -1914,7 +1914,10 @@ NS_IMETHODIMP nsViewManager::ForceUpdate()
}
// Walk the view tree looking for widgets, and call Update() on each one
UpdateWidgetsForView(mRootView);
if (mRootView) {
UpdateWidgetsForView(mRootView);
}
return NS_OK;
}