From 3a0d9178de12547534c08640ffbbcab9dcda9409 Mon Sep 17 00:00:00 2001 From: Andreas Pehrson Date: Mon, 30 Nov 2020 14:16:50 +0000 Subject: [PATCH] Bug 1605134 - Switch the CrossGraphPort's log module to MediaTrackGraph. r=padenot These MediaTrack used to subclass ForwardedInputTrack and that module is legacy from that time. MediaTrackGraph makes more sense. We should reduce the number of log modules around the graph and converge on the MTG one. Differential Revision: https://phabricator.services.mozilla.com/D97834 --- dom/media/CrossGraphPort.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dom/media/CrossGraphPort.cpp b/dom/media/CrossGraphPort.cpp index 44a712787a7a..c991f86aa1aa 100644 --- a/dom/media/CrossGraphPort.cpp +++ b/dom/media/CrossGraphPort.cpp @@ -18,9 +18,9 @@ namespace mozilla { # undef LOG_TEST #endif -extern LazyLogModule gForwardedInputTrackLog; -#define LOG(type, msg) MOZ_LOG(gForwardedInputTrackLog, type, msg) -#define LOG_TEST(type) MOZ_LOG_TEST(gForwardedInputTrackLog, type) +extern LazyLogModule gMediaTrackGraphLog; +#define LOG(type, msg) MOZ_LOG(gMediaTrackGraphLog, type, msg) +#define LOG_TEST(type) MOZ_LOG_TEST(gMediaTrackGraphLog, type) UniquePtr CrossGraphPort::Connect( const RefPtr& aStreamTrack, AudioDeviceInfo* aSink,