diff options
author | adeshkp <adeshkp@users.noreply.github.com> | 2019-01-14 03:20:28 -0500 |
---|---|---|
committer | adeshkp <adeshkp@users.noreply.github.com> | 2019-01-14 03:20:28 -0500 |
commit | 09a81ba9b63c6bb966932e214bc0ead41db15403 (patch) | |
tree | 3d9684a4b7837e0b147df18d2e03f47ee9546c11 | |
parent | 5335681cd2ab05ad47e81be7722c9eee19d54065 (diff) | |
download | uxp-09a81ba9b63c6bb966932e214bc0ead41db15403.tar.gz |
Remove unused telemetry timer from HTMLMediaElement.h
-rw-r--r-- | dom/html/HTMLMediaElement.cpp | 4 | ||||
-rw-r--r-- | dom/html/HTMLMediaElement.h | 3 |
2 files changed, 0 insertions, 7 deletions
diff --git a/dom/html/HTMLMediaElement.cpp b/dom/html/HTMLMediaElement.cpp index 3b19d42c61..050d1ac69d 100644 --- a/dom/html/HTMLMediaElement.cpp +++ b/dom/html/HTMLMediaElement.cpp @@ -3145,10 +3145,6 @@ HTMLMediaElement::~HTMLMediaElement() if (mProgressTimer) { StopProgress(); } - if (mVideoDecodeSuspendTimer) { - mVideoDecodeSuspendTimer->Cancel(); - mVideoDecodeSuspendTimer = nullptr; - } if (mSrcStream) { EndSrcMediaStreamPlayback(); } diff --git a/dom/html/HTMLMediaElement.h b/dom/html/HTMLMediaElement.h index 3e6cb519d4..899e8449af 100644 --- a/dom/html/HTMLMediaElement.h +++ b/dom/html/HTMLMediaElement.h @@ -1461,9 +1461,6 @@ protected: // Timer used for updating progress events. nsCOMPtr<nsITimer> mProgressTimer; - // Timer used to simulate video-suspend. - nsCOMPtr<nsITimer> mVideoDecodeSuspendTimer; - #ifdef MOZ_EME // Encrypted Media Extension media keys. RefPtr<MediaKeys> mMediaKeys; |