Bug 848954 - Part 29 - Make the MSG in stable state event ref counted. r=padenot

This commit is contained in:
Randell Jesup 2014-08-26 17:04:39 +02:00
Родитель fadcfae452
Коммит 61652f721c
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -1482,7 +1482,7 @@ public:
return NS_OK; return NS_OK;
} }
private: private:
MediaStreamGraphImpl* mGraph; nsRefPtr<MediaStreamGraphImpl> mGraph;
}; };
class MediaStreamGraphStableStateRunnable : public nsRunnable { class MediaStreamGraphStableStateRunnable : public nsRunnable {
@ -1501,7 +1501,7 @@ public:
return NS_OK; return NS_OK;
} }
private: private:
MediaStreamGraphImpl* mGraph; nsRefPtr<MediaStreamGraphImpl> mGraph;
bool mSourceIsMSG; bool mSourceIsMSG;
}; };

Просмотреть файл

@ -85,7 +85,7 @@ public:
class MediaStreamGraphImpl : public MediaStreamGraph, class MediaStreamGraphImpl : public MediaStreamGraph,
public nsIMemoryReporter { public nsIMemoryReporter {
public: public:
NS_DECL_ISUPPORTS NS_DECL_THREADSAFE_ISUPPORTS
NS_DECL_NSIMEMORYREPORTER NS_DECL_NSIMEMORYREPORTER
/** /**