Bug 1246521: P1. Add MediaDecoderOwner::HasError method. r=gerald

This commit is contained in:
Jean-Yves Avenard
2016-02-08 15:27:14 +11:00
parent ddc9cab69e
commit 331f92a4c8
4 changed files with 12 additions and 0 deletions

View File

@@ -3494,6 +3494,11 @@ void HTMLMediaElement::DecodeError()
}
}
bool HTMLMediaElement::HasError() const
{
return GetError();
}
void HTMLMediaElement::LoadAborted()
{
Error(nsIDOMMediaError::MEDIA_ERR_ABORTED);