compare build error fixed

git-svn-id: svn://10.0.0.236/trunk@20595 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rods%netscape.com
1999-02-12 18:58:39 +00:00
parent 30af4ede8c
commit 076ccff595

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;