Bug 1246521: P1. Add MediaDecoderOwner::HasError method. r=gerald
This commit is contained in:
@@ -3494,6 +3494,11 @@ void HTMLMediaElement::DecodeError()
|
||||
}
|
||||
}
|
||||
|
||||
bool HTMLMediaElement::HasError() const
|
||||
{
|
||||
return GetError();
|
||||
}
|
||||
|
||||
void HTMLMediaElement::LoadAborted()
|
||||
{
|
||||
Error(nsIDOMMediaError::MEDIA_ERR_ABORTED);
|
||||
|
||||
Reference in New Issue
Block a user