compare build error fixed

This commit is contained in:
rods%netscape.com 1999-02-12 18:58:39 +00:00
parent f7ac81f9b4
commit 81515ab405

View File

@ -812,7 +812,7 @@ PRInt32 nsWebShellWindow::GetDocHeight(nsIDocument * aDoc)
if (presShell) {
nsCOMPtr<nsIPresContext> presContext;
presShell->GetPresContext(getter_AddRefs(presContext));
if (nsnull != presContext) {
if (presContext) {
nsRect rect;
presContext->GetVisibleArea(rect);
nsIFrame * rootFrame;