Bug 1178938 followup: Add missing 'override' keyword to OggDecoder methods Clone() and CreateStateMachine(). rs=ehsan

This commit is contained in:
Daniel Holbert 2015-07-02 16:31:54 -07:00
parent 033d90db7e
commit 8eb859c92f

View File

@ -18,13 +18,13 @@ public:
, mShutdownBit(false)
{}
virtual MediaDecoder* Clone() {
virtual MediaDecoder* Clone() override {
if (!IsOggEnabled()) {
return nullptr;
}
return new OggDecoder();
}
virtual MediaDecoderStateMachine* CreateStateMachine();
virtual MediaDecoderStateMachine* CreateStateMachine() override;
// For yucky legacy reasons, the ogg decoder needs to do a cross-thread read
// to check for shutdown while it hogs its own task queue. We don't want to