fixing warning; r=akkana

git-svn-id: svn://10.0.0.236/trunk@59675 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jfrancis%netscape.com 2000-02-03 23:29:09 +00:00
parent d5401f0901
commit 67fe76633b
2 changed files with 2 additions and 12 deletions

View File

@ -4369,12 +4369,7 @@ nsresult nsEditor::EndUpdateViewBatch()
#else
mViewManager->EndUpdateViewBatch();
#endif
nsCOMPtr<nsIPresShell> presShell;
rv = GetPresShell(getter_AddRefs(presShell));
if (NS_SUCCEEDED(rv) && presShell)
{
presShell->EndBatchingReflows(PR_TRUE);
}
presShell->EndBatchingReflows(PR_TRUE);
}
}

View File

@ -4369,12 +4369,7 @@ nsresult nsEditor::EndUpdateViewBatch()
#else
mViewManager->EndUpdateViewBatch();
#endif
nsCOMPtr<nsIPresShell> presShell;
rv = GetPresShell(getter_AddRefs(presShell));
if (NS_SUCCEEDED(rv) && presShell)
{
presShell->EndBatchingReflows(PR_TRUE);
}
presShell->EndBatchingReflows(PR_TRUE);
}
}