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

@@ -266,7 +266,7 @@ nsHtml5TreeOpExecutor::ContinueInterruptedParsingAsync()
if (!mDocument || !mDocument->IsInBackgroundWindow()) {
nsCOMPtr<nsIRunnable> flusher = new nsHtml5ExecutorReflusher(this);
if (NS_FAILED(mDocument->Dispatch("nsHtml5ExecutorReflusher",
dom::TaskCategory::Other,
TaskCategory::Other,
flusher.forget()))) {
NS_WARNING("failed to dispatch executor flush event");
}