Ejemplo n.º 1
0
NS_IMETHODIMP
nsBaseAppShell::RunBeforeNextEvent(nsIRunnable* aRunnable)
{
  nsCOMPtr<nsIRunnable> runnable = aRunnable;
  ScheduleSyncSection(runnable.forget(), false);
  return NS_OK;
}
Ejemplo n.º 2
0
NS_IMETHODIMP
nsBaseAppShell::RunBeforeNextEvent(nsIRunnable* aRunnable)
{
    ScheduleSyncSection(aRunnable, false);
    return NS_OK;
}
Ejemplo n.º 3
0
NS_IMETHODIMP
nsBaseAppShell::RunInStableState(nsIRunnable* aRunnable)
{
    ScheduleSyncSection(aRunnable, true);
    return NS_OK;
}
Ejemplo n.º 4
0
void
nsBaseAppShell::RunInStableState(already_AddRefed<nsIRunnable> aRunnable)
{
  ScheduleSyncSection(mozilla::Move(aRunnable), true);
}