Bug 1518352 remove unnecessary WeakPtr support from PannerNode r=padenot
authorKarl Tomlinson <karlt+@karlt.net>
Tue, 08 Jan 2019 10:07:15 +0000
changeset 510074 a36388b88fcc72e534ba79d282ca1741744602d9
parent 510073 a13bd50f3cd449db176f17e6faecfe74c0238fc8
child 510096 3b629ad2475fde10207b2d2c5b119e4eb0ca91ef
child 510097 a9422d15a9f50f9e0e93af3ce8bc3e92b3bc3744
push id10547
push userffxbld-merge
push dateMon, 21 Jan 2019 13:03:58 +0000
treeherdermozilla-beta@24ec1916bffe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspadenot
bugs1518352
milestone66.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1518352 remove unnecessary WeakPtr support from PannerNode r=padenot This is no longer used since https://hg.mozilla.org/mozilla-central/rev/11b4729e92ec#l3.101 Differential Revision: https://phabricator.services.mozilla.com/D15890
dom/media/webaudio/PannerNode.h
--- a/dom/media/webaudio/PannerNode.h
+++ b/dom/media/webaudio/PannerNode.h
@@ -6,35 +6,32 @@
 
 #ifndef PannerNode_h_
 #define PannerNode_h_
 
 #include "AudioNode.h"
 #include "AudioParam.h"
 #include "mozilla/dom/PannerNodeBinding.h"
 #include "ThreeDPoint.h"
-#include "mozilla/WeakPtr.h"
 #include <limits>
 #include <set>
 
 namespace mozilla {
 namespace dom {
 
 class AudioContext;
 class AudioBufferSourceNode;
 struct PannerOptions;
 
-class PannerNode final : public AudioNode, public SupportsWeakPtr<PannerNode> {
+class PannerNode final : public AudioNode {
  public:
   static already_AddRefed<PannerNode> Create(AudioContext& aAudioContext,
                                              const PannerOptions& aOptions,
                                              ErrorResult& aRv);
 
-  MOZ_DECLARE_WEAKREFERENCE_TYPENAME(PannerNode)
-
   static already_AddRefed<PannerNode> Constructor(const GlobalObject& aGlobal,
                                                   AudioContext& aAudioContext,
                                                   const PannerOptions& aOptions,
                                                   ErrorResult& aRv) {
     return Create(aAudioContext, aOptions, aRv);
   }
 
   JSObject* WrapObject(JSContext* aCx,