Bug 1203427 (part 5) - Add logging of timer firings. r=froydnj.

This commit is contained in:
Nicholas Nethercote
2015-09-10 00:50:51 -07:00
parent f35448f91f
commit 3ddf3a726a
14 changed files with 354 additions and 62 deletions

View File

@@ -275,8 +275,9 @@ nsHtml5TreeOpExecutor::ContinueInterruptedParsingAsync()
// The timer value 50 should not hopefully slow down background pages too
// much, yet lets event loop to process enough between ticks.
// See bug 734015.
gFlushTimer->InitWithFuncCallback(FlushTimerCallback, nullptr,
50, nsITimer::TYPE_REPEATING_SLACK);
gFlushTimer->InitWithNamedFuncCallback(FlushTimerCallback, nullptr,
50, nsITimer::TYPE_REPEATING_SLACK,
"FlushTimerCallback");
}
}
}