Bug 82073. Wallpaper over the crash until bryner can look at this.
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