summaryrefslogtreecommitdiff
path: root/dom/media
diff options
context:
space:
mode:
authortrav90 <travawine@protonmail.com>2017-07-20 23:32:46 -0500
committertrav90 <travawine@protonmail.com>2017-07-20 23:32:46 -0500
commit95f058581bf5eabe9708d19c96d1072178a92fb4 (patch)
treeab4ed564b9f7496e1da8f0cf229a8b6e32b59b91 /dom/media
parentf2c24ebefd317ac0f0b885785458dd3fef27c78d (diff)
downloadpalemoon-gre-95f058581bf5eabe9708d19c96d1072178a92fb4.tar.gz
Remove now-unnecessary null-out in MediaDecoderReader::BreakCycles
As soon as a class has a mirror or canonical, it's going to hold onto the task queue until destruction anyway.
Diffstat (limited to 'dom/media')
-rw-r--r--dom/media/MediaDecoderReader.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/dom/media/MediaDecoderReader.cpp b/dom/media/MediaDecoderReader.cpp
index bb193192d..2557aebee 100644
--- a/dom/media/MediaDecoderReader.cpp
+++ b/dom/media/MediaDecoderReader.cpp
@@ -342,7 +342,9 @@ MediaDecoderReader::RequestAudioData()
void
MediaDecoderReader::BreakCycles()
{
- mTaskQueue = nullptr;
+ // Nothing left to do here these days. We keep this method around so that, if
+ // we need it, we don't have to make all of the subclass implementations call
+ // the superclass method again.
}
nsRefPtr<ShutdownPromise>