Bug 1028680 - Give TextTrackList an out-of-line destructor so that we can forward declare TextTrackManager in the header; r=bzbarsky

--HG--
extra : rebase_source : d8a6eaefd00fe20b0405bef5309100e74a0ac6d7
This commit is contained in:
Ehsan Akhgari 2014-06-24 07:20:54 -07:00
parent cc58665009
commit 5b6971b2b9
2 changed files with 5 additions and 0 deletions

View File

@ -35,6 +35,10 @@ TextTrackList::TextTrackList(nsPIDOMWindow* aOwnerWindow,
{
}
TextTrackList::~TextTrackList()
{
}
void
TextTrackList::UpdateAndGetShowingCues(nsTArray<nsRefPtr<TextTrackCue> >& aCues)
{

View File

@ -28,6 +28,7 @@ public:
TextTrackList(nsPIDOMWindow* aOwnerWindow);
TextTrackList(nsPIDOMWindow* aOwnerWindow, TextTrackManager* aTextTrackManager);
~TextTrackList();
virtual JSObject* WrapObject(JSContext* aCx) MOZ_OVERRIDE;