mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-24 00:24:14 +00:00
Bug 804387. Part 7: Use a static_cast instead of dynamic check when processing ProcessedMediaStream message. r=jesup
--HG-- extra : rebase_source : 3eb9264b706e19ac19ebf2377a33871be4cbe981
This commit is contained in:
parent
3805f43d67
commit
ee5a02020e
@ -1796,7 +1796,7 @@ ProcessedMediaStream::SetAutofinish(bool aAutofinish)
|
||||
: ControlMessage(aStream), mAutofinish(aAutofinish) {}
|
||||
virtual void Run()
|
||||
{
|
||||
mStream->AsProcessedStream()->SetAutofinishImpl(mAutofinish);
|
||||
static_cast<ProcessedMediaStream*>(mStream)->SetAutofinishImpl(mAutofinish);
|
||||
}
|
||||
bool mAutofinish;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user