mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +00:00
Bug 1345034 - Label runnables in dom/media/WMFMediaDataDecoder.cpp; r=jwwang
MozReview-Commit-ID: G5ioUsJdvQd --HG-- extra : rebase_source : db5f8d082fa6fff57ab4eb3fc85492dbc6939d9c
This commit is contained in:
parent
af68450f5b
commit
24b9d982ba
@ -65,7 +65,10 @@ SendTelemetry(unsigned long hr)
|
||||
[sample] {
|
||||
Telemetry::Accumulate(Telemetry::MEDIA_WMF_DECODE_ERROR, sample);
|
||||
});
|
||||
NS_DispatchToMainThread(runnable);
|
||||
|
||||
SystemGroup::Dispatch("WMFMediaDataDecoder::SendTelemetry",
|
||||
TaskCategory::Other,
|
||||
runnable.forget());
|
||||
}
|
||||
|
||||
RefPtr<ShutdownPromise>
|
||||
|
Loading…
Reference in New Issue
Block a user