From 076ccff595a9fdb89db39659555f812a365d2ed7 Mon Sep 17 00:00:00 2001 From: "rods%netscape.com" Date: Fri, 12 Feb 1999 18:58:39 +0000 Subject: [PATCH] compare build error fixed git-svn-id: svn://10.0.0.236/trunk@20595 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpfe/appshell/src/nsWebShellWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp b/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp index 5911922d40f..1f1d42d13e1 100644 --- a/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp +++ b/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp @@ -812,7 +812,7 @@ PRInt32 nsWebShellWindow::GetDocHeight(nsIDocument * aDoc) if (presShell) { nsCOMPtr presContext; presShell->GetPresContext(getter_AddRefs(presContext)); - if (nsnull != presContext) { + if (presContext) { nsRect rect; presContext->GetVisibleArea(rect); nsIFrame * rootFrame;