зеркало из https://github.com/mozilla/gecko-dev.git
bug 824294. Check for null (destroyed) element just before we call PlaybackEnded on it. r=doublec
This commit is contained in:
Родитель
515cd3cb79
Коммит
d6e78f7c5d
|
@ -821,8 +821,8 @@ void MediaDecoder::PlaybackEnded()
|
||||||
PlaybackPositionChanged();
|
PlaybackPositionChanged();
|
||||||
ChangeState(PLAY_STATE_ENDED);
|
ChangeState(PLAY_STATE_ENDED);
|
||||||
|
|
||||||
|
UpdateReadyStateForData();
|
||||||
if (mOwner) {
|
if (mOwner) {
|
||||||
UpdateReadyStateForData();
|
|
||||||
mOwner->PlaybackEnded();
|
mOwner->PlaybackEnded();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче