Bug 82073. Wallpaper over the crash until bryner can look at this.
git-svn-id: svn://10.0.0.236/trunk@95680 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2498,6 +2498,9 @@ nsDocShell::SetFocus()
|
||||
is not collapsed. */
|
||||
nsIFrame* rootFrame;
|
||||
presShell->GetRootFrame(&rootFrame);
|
||||
if (!rootFrame)
|
||||
return NS_ERROR_FAILURE;
|
||||
|
||||
nsRect frameRect;
|
||||
rootFrame->GetRect(frameRect);
|
||||
if (frameRect.IsEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user