Bug 1160064 - Give WatchManager an owner thread and make sure everything happens there. r=jww
This commit is contained in:
@@ -2042,7 +2042,7 @@ HTMLMediaElement::LookupMediaElementURITable(nsIURI* aURI)
|
||||
|
||||
HTMLMediaElement::HTMLMediaElement(already_AddRefed<mozilla::dom::NodeInfo>& aNodeInfo)
|
||||
: nsGenericHTMLElement(aNodeInfo),
|
||||
mWatchManager(this),
|
||||
mWatchManager(this, AbstractThread::MainThread()),
|
||||
mCurrentLoadID(0),
|
||||
mNetworkState(nsIDOMHTMLMediaElement::NETWORK_EMPTY),
|
||||
mReadyState(nsIDOMHTMLMediaElement::HAVE_NOTHING, "HTMLMediaElement::mReadyState"),
|
||||
|
||||
Reference in New Issue
Block a user