From ee5a02020e3038771597ccae7a5cfcb7b08c9fef Mon Sep 17 00:00:00 2001 From: Robert O'Callahan Date: Mon, 4 Feb 2013 23:04:26 +1300 Subject: [PATCH] Bug 804387. Part 7: Use a static_cast instead of dynamic check when processing ProcessedMediaStream message. r=jesup --HG-- extra : rebase_source : 3eb9264b706e19ac19ebf2377a33871be4cbe981 --- content/media/MediaStreamGraph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/media/MediaStreamGraph.cpp b/content/media/MediaStreamGraph.cpp index 0b7b79a02cea..8f5e5afec4f8 100644 --- a/content/media/MediaStreamGraph.cpp +++ b/content/media/MediaStreamGraph.cpp @@ -1796,7 +1796,7 @@ ProcessedMediaStream::SetAutofinish(bool aAutofinish) : ControlMessage(aStream), mAutofinish(aAutofinish) {} virtual void Run() { - mStream->AsProcessedStream()->SetAutofinishImpl(mAutofinish); + static_cast(mStream)->SetAutofinishImpl(mAutofinish); } bool mAutofinish; };