Bug 804387. Part 7: Use a static_cast instead of dynamic check when processing ProcessedMediaStream message. r=jesup

This commit is contained in:
Robert O'Callahan 2013-02-04 23:04:26 +13:00
parent 752794e8a7
commit a0af077494

View File

@ -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;
};