Bug 1289649 - HTMLMediaElement should clear mDecoder when XPCOM shutdown begins. r=gerald

MozReview-Commit-ID: A3ECReCgiD7
This commit is contained in:
JW Wang
2016-07-27 10:26:21 +08:00
parent a844aabb32
commit fa1920a2bb
7 changed files with 25 additions and 4 deletions

View File

@@ -2605,6 +2605,12 @@ void HTMLMediaElement::SetPlayedOrSeeked(bool aValue)
NS_FRAME_IS_DIRTY);
}
void
HTMLMediaElement::NotifyXPCOMShutdown()
{
ShutdownDecoder();
}
void
HTMLMediaElement::ResetConnectionState()
{