summaryrefslogtreecommitdiff
path: root/dom/media/GraphDriver.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-03-10 22:33:51 +0000
committerMoonchild <moonchild@palemoon.org>2021-03-11 06:41:21 +0000
commitc46793881d11dd7af8bb1a11e8341977056448cd (patch)
treea38500afc01411508ba2cb986f490ca4c8fa9ca1 /dom/media/GraphDriver.cpp
parentbf9a812c8d5721f73b76f698755a2f60cf58ac0c (diff)
downloadaura-central-c46793881d11dd7af8bb1a11e8341977056448cd.tar.gz
Issue mcp-graveyard/UXP%1053 - Remove Android-specific blocks from system headers and /dom
Diffstat (limited to 'dom/media/GraphDriver.cpp')
-rw-r--r--dom/media/GraphDriver.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/dom/media/GraphDriver.cpp b/dom/media/GraphDriver.cpp
index 37c692a4b..fe40c82e2 100644
--- a/dom/media/GraphDriver.cpp
+++ b/dom/media/GraphDriver.cpp
@@ -21,16 +21,11 @@
extern mozilla::LazyLogModule gMediaStreamGraphLog;
#define STREAM_LOG(type, msg) MOZ_LOG(gMediaStreamGraphLog, type, msg)
-// We don't use NSPR log here because we want this interleaved with adb logcat
-// on Android/B2G
+// XXX: We didn't use NSPR log here because we wanted this interleaved with
+// adb logcat on Android/B2G. This is no longer a concern; use NSPR?
// #define ENABLE_LIFECYCLE_LOG
#ifdef ENABLE_LIFECYCLE_LOG
-#ifdef ANDROID
-#include "android/log.h"
-#define LIFECYCLE_LOG(...) __android_log_print(ANDROID_LOG_INFO, "Gecko - MSG" , __VA_ARGS__); printf(__VA_ARGS__);printf("\n");
-#else
#define LIFECYCLE_LOG(...) printf(__VA_ARGS__);printf("\n");
-#endif
#else
#define LIFECYCLE_LOG(...)
#endif