зеркало из https://github.com/mozilla/gecko-dev.git
Bug 812572 - Make MediaDecoderReader a non-runnable; r=cpearce
This commit is contained in:
Родитель
2be160f1a9
Коммит
b6498296a3
|
@ -353,11 +353,13 @@ private:
|
|||
// done on the decode thread. Never hold the decoder monitor when
|
||||
// calling into this class. Unless otherwise specified, methods and fields of
|
||||
// this class can only be accessed on the decode thread.
|
||||
class MediaDecoderReader : public nsRunnable {
|
||||
class MediaDecoderReader {
|
||||
public:
|
||||
MediaDecoderReader(MediaDecoder* aDecoder);
|
||||
virtual ~MediaDecoderReader();
|
||||
|
||||
NS_INLINE_DECL_REFCOUNTING(MediaDecoderReader);
|
||||
|
||||
// Initializes the reader, returns NS_OK on success, or NS_ERROR_FAILURE
|
||||
// on failure.
|
||||
virtual nsresult Init(MediaDecoderReader* aCloneDonor) = 0;
|
||||
|
|
Загрузка…
Ссылка в новой задаче