Bug 1331804 - New naming scheme for runnables (r=ehsan)

MozReview-Commit-ID: FOfrUXwGYws
This commit is contained in:
Bill McCloskey
2017-01-18 15:07:54 -08:00
parent 2df8a98ee1
commit 724a87f692
7 changed files with 11 additions and 10 deletions

View File

@@ -1336,7 +1336,7 @@ nsHtml5StreamParser::FlushTreeOpsAndDisarmTimer()
}
mTreeBuilder->Flush();
nsCOMPtr<nsIRunnable> runnable(mExecutorFlusher);
if (NS_FAILED(mExecutor->GetDocument()->Dispatch("FlushTreeOpsAndDisarmTimer",
if (NS_FAILED(mExecutor->GetDocument()->Dispatch("nsHtml5ExecutorFlusher",
dom::TaskCategory::Other,
runnable.forget()))) {
NS_WARNING("failed to dispatch executor flush event");