compare build error fixed
git-svn-id: svn://10.0.0.236/trunk@20595 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user