Bug 912627 - Remove spurious assertion. r=cpearce

This commit is contained in:
Randy Lin 2014-04-02 09:59:31 +08:00
parent 0574204f04
commit 3a40673d1b

View File

@ -698,7 +698,6 @@ void MediaDecoder::QueueMetadata(int64_t aPublishTime,
bool
MediaDecoder::IsDataCachedToEndOfResource()
{
NS_ASSERTION(!mShuttingDown, "Don't call during shutdown!");
ReentrantMonitorAutoEnter mon(GetReentrantMonitor());
return (mResource &&
mResource->IsDataCachedToEndOfResource(mDecoderPosition));