From 82d61b385dcbe41fd15dd23828d5e36133d7818d Mon Sep 17 00:00:00 2001 From: JW Wang Date: Mon, 25 Jan 2016 10:52:54 +0800 Subject: [PATCH] Bug 1241405 - reset mCurrentPlayRangeStart in AbortExistingLoads(). r=jya. --- dom/html/HTMLMediaElement.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dom/html/HTMLMediaElement.cpp b/dom/html/HTMLMediaElement.cpp index 37c4fb283026..0dae88a84e75 100644 --- a/dom/html/HTMLMediaElement.cpp +++ b/dom/html/HTMLMediaElement.cpp @@ -737,6 +737,7 @@ void HTMLMediaElement::AbortExistingLoads() } mError = nullptr; + mCurrentPlayRangeStart = -1.0; mLoadedDataFired = false; mAutoplaying = true; mIsLoadingFromSourceChildren = false;