Bug 1332494 - Move TaskCategory definition to xpcom/threads/TaskCategory.h (r=froydnj)

MozReview-Commit-ID: ET43PbGRgxl
This commit is contained in:
Bill McCloskey
2017-01-18 20:26:17 -08:00
parent d1b89171b1
commit be49fc768f
13 changed files with 61 additions and 41 deletions

View File

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