mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 1345027 - Label runnables in dom/media/VideoUtils.cpp. r=cpearce
MozReview-Commit-ID: LHC69iLqN3f --HG-- extra : rebase_source : 79c2f04c00e50316b653cb94aebcf452b7428d86 extra : source : 294788e2c9000ae3a3e2c5c2d6363e8192959434
This commit is contained in:
parent
be4bd90f39
commit
cfa1d7f8bc
@ -397,7 +397,7 @@ LogToBrowserConsole(const nsAString& aMsg)
|
||||
nsString msg(aMsg);
|
||||
nsCOMPtr<nsIRunnable> task =
|
||||
NS_NewRunnableFunction([msg]() { LogToBrowserConsole(msg); });
|
||||
NS_DispatchToMainThread(task.forget(), NS_DISPATCH_NORMAL);
|
||||
SystemGroup::Dispatch("LogToBrowserConsole", TaskCategory::Other, task.forget());
|
||||
return;
|
||||
}
|
||||
nsCOMPtr<nsIConsoleService> console(
|
||||
|
Loading…
Reference in New Issue
Block a user