mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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
56958e3201
commit
a2cc2eaf26
@ -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