Bug 1423482 - ChannelMediaResource::CacheClientNotifyDataReceived() should use mCallback->AbstractMainThread() to dispatch tasks. r=bechen

To be consistent with other functions.

MozReview-Commit-ID: 1adZkXx2VkB

--HG--
extra : rebase_source : b7c420c717ffc95feb73749305fd25e3bba12ae1
extra : intermediate-source : a7a9f6ae0a0291c76f2eee0e89f57684df98a061
extra : source : 9055561c3203e06c0e2d6d0daaa76f3e85dc1b2c
This commit is contained in:
JW Wang 2017-12-06 16:01:12 +08:00
Родитель 29f9e59896
Коммит 381f8f5795
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -773,8 +773,7 @@ ChannelMediaResource::RecreateChannel()
void
ChannelMediaResource::CacheClientNotifyDataReceived()
{
SystemGroup::Dispatch(
TaskCategory::Other,
mCallback->AbstractMainThread()->Dispatch(
NewRunnableMethod("MediaResourceCallback::NotifyDataArrived",
mCallback.get(),
&MediaResourceCallback::NotifyDataArrived));