Bug 1405962. P2 - use thread-safe ref counting. r=gerald

These listeners will be AddRefed/Released off the main thread when
OMT data delivery is enabled.

MozReview-Commit-ID: CSOBgNNf3OW
This commit is contained in:
JW Wang
2017-09-20 17:14:01 +08:00
parent ce481b6651
commit 06f5e25c72
2 changed files with 2 additions and 2 deletions

View File

@@ -459,7 +459,7 @@ class HTMLMediaElement::MediaLoadListener final
{
~MediaLoadListener() {}
NS_DECL_ISUPPORTS
NS_DECL_THREADSAFE_ISUPPORTS
NS_DECL_NSIREQUESTOBSERVER
NS_DECL_NSISTREAMLISTENER
NS_DECL_NSICHANNELEVENTSINK