Bug 1138557 - Add null check to mLoadingSrc. r=karlt
This commit is contained in:
@@ -3295,7 +3295,7 @@ void HTMLMediaElement::CheckProgress(bool aHaveNewProgress)
|
||||
if (now - mDataTime >= TimeDuration::FromMilliseconds(STALL_MS)) {
|
||||
DispatchAsyncEvent(NS_LITERAL_STRING("stalled"));
|
||||
|
||||
if (IsMediaSourceURI(mLoadingSrc)) {
|
||||
if (mLoadingSrc && IsMediaSourceURI(mLoadingSrc)) {
|
||||
ChangeDelayLoadStatus(false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user