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
This commit is contained in:
parent
752794e8a7
commit
a0af077494
@ -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