Bug 1046282 part 3: Use nsRefPtr instead of RefPtr for DecoderData::mDecoder (and mTaskQueue, for consistency & good measure). r=rillian r=cpearce

This commit is contained in:
Daniel Holbert 2014-07-30 18:40:19 -07:00
Родитель 5f3d16188e
Коммит 686bdc6674
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -125,10 +125,10 @@ private:
}
// The platform decoder.
RefPtr<MediaDataDecoder> mDecoder;
nsRefPtr<MediaDataDecoder> mDecoder;
// TaskQueue on which decoder can choose to decode.
// Only non-null up until the decoder is created.
RefPtr<MediaTaskQueue> mTaskQueue;
nsRefPtr<MediaTaskQueue> mTaskQueue;
// Callback that receives output and error notifications from the decoder.
nsAutoPtr<DecoderCallback> mCallback;
// Monitor that protects all non-threadsafe state; the primitives