mirror of
https://github.com/classilla/tenfourfox.git
synced 2026-04-21 05:16:53 +00:00
#457: M1419363 + WeakPtr support from M1267918
This commit is contained in:
@@ -3110,11 +3110,13 @@ public:
|
||||
{
|
||||
NS_ASSERTION(NS_IsMainThread(), "Should be on main thread.");
|
||||
|
||||
if (MOZ_UNLIKELY(!mElement)) return; // bug 1419363
|
||||
|
||||
mElement->NotifyMediaStreamTracksAvailable(aStream);
|
||||
}
|
||||
|
||||
private:
|
||||
HTMLMediaElement* mElement;
|
||||
WeakPtr<HTMLMediaElement> mElement;
|
||||
};
|
||||
|
||||
class HTMLMediaElement::MediaStreamTrackListener :
|
||||
|
||||
Reference in New Issue
Block a user