Bug 1136984 - Always call DrainComplete in response to Drain, even if it wasn't called on the active decoder. r=cpearce

This commit is contained in:
Matt Woodrow 2015-02-27 11:47:12 +13:00
parent d9b857ba4f
commit 9f1b1ecd84

View File

@ -196,8 +196,10 @@ SharedDecoderProxy::Drain()
{
if (mManager->mActiveProxy == this) {
return mManager->mDecoder->Drain();
} else {
mCallback->DrainComplete();
return NS_OK;
}
return NS_OK;
}
nsresult