зеркало из https://github.com/mozilla/gecko-dev.git
fixing warning; r=akkana
This commit is contained in:
Родитель
c68664297c
Коммит
5816b366ff
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче