mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 812572 - Make MediaDecoderReader a non-runnable; r=cpearce
This commit is contained in:
parent
36eb539459
commit
cf053c6208
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user