Bug 1332494 - Move TaskCategory definition to xpcom/threads/TaskCategory.h (r=froydnj)
MozReview-Commit-ID: ET43PbGRgxl
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user