mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-09 00:11:44 +00:00
compare build error fixed
This commit is contained in:
parent
f7ac81f9b4
commit
81515ab405
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user