Skip to content

Commit

Permalink
Bug 1028679 - Give DOMAudioNodeMediaStream an out-of-line destructor …
Browse files Browse the repository at this point in the history
…so that we can forward declare AudioNode in the header; r=bzbarsky
  • Loading branch information
ehsan committed Jun 24, 2014
1 parent a39436c commit d8ec987
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions content/media/DOMMediaStream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,10 @@ DOMAudioNodeMediaStream::DOMAudioNodeMediaStream(AudioNode* aNode)
{
}

DOMAudioNodeMediaStream::~DOMAudioNodeMediaStream()
{
}

already_AddRefed<DOMAudioNodeMediaStream>
DOMAudioNodeMediaStream::CreateTrackUnionStream(nsIDOMWindow* aWindow,
AudioNode* aNode,
Expand Down
1 change: 1 addition & 0 deletions content/media/DOMMediaStream.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ class DOMAudioNodeMediaStream : public DOMMediaStream
typedef dom::AudioNode AudioNode;
public:
DOMAudioNodeMediaStream(AudioNode* aNode);
~DOMAudioNodeMediaStream();

NS_DECL_ISUPPORTS_INHERITED
NS_DECL_CYCLE_COLLECTION_CLASS_INHERITED(DOMAudioNodeMediaStream, DOMMediaStream)
Expand Down

0 comments on commit d8ec987

Please sign in to comment.