fixing warning; r=akkana
git-svn-id: svn://10.0.0.236/trunk@59675 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
d5401f0901
commit
67fe76633b
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user