Bug 1183394 - Remove the assertion message when shutdown. r=jwwang

This commit is contained in:
Benjamin Chen
2015-07-21 18:01:00 +08:00
parent f7915b4d84
commit 08c77c5e46
2 changed files with 4 additions and 4 deletions

View File

@@ -1211,6 +1211,7 @@ nsresult HTMLMediaElement::LoadResource()
// TODO: Handle failure: run "If the media data cannot be fetched at
// all, due to network errors, causing the user agent to give up
// trying to fetch the resource" section of resource fetch algorithm.
decoder->Shutdown();
return NS_ERROR_FAILURE;
}
nsRefPtr<MediaResource> resource =