зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1259788 - Fix MediaStreamTrack logging. r=jesup
MozReview-Commit-ID: 43Pz8VcSXQ --HG-- extra : rebase_source : e5fc6dc4cc1e3e5a7d65a5d742100dad89317b35
This commit is contained in:
Родитель
7fe05b7baa
Коммит
d95d7de7da
|
@ -18,7 +18,7 @@
|
|||
#undef LOG
|
||||
#endif
|
||||
|
||||
static PRLogModuleInfo* gMediaStreamTrackLog;
|
||||
static mozilla::LazyLogModule gMediaStreamTrackLog("MediaStreamTrack");
|
||||
#define LOG(type, msg) MOZ_LOG(gMediaStreamTrackLog, type, msg)
|
||||
|
||||
namespace mozilla {
|
||||
|
@ -120,10 +120,6 @@ MediaStreamTrack::MediaStreamTrack(DOMMediaStream* aStream, TrackID aTrackID,
|
|||
mConstraints(aConstraints)
|
||||
{
|
||||
|
||||
if (!gMediaStreamTrackLog) {
|
||||
gMediaStreamTrackLog = PR_NewLogModule("MediaStreamTrack");
|
||||
}
|
||||
|
||||
GetSource().RegisterSink(this);
|
||||
|
||||
mPrincipalHandleListener = new PrincipalHandleListener(this);
|
||||
|
|
Загрузка…
Ссылка в новой задаче