diff options
author | Moonchild <moonchild@palemoon.org> | 2021-03-10 22:33:51 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-03-11 06:41:21 +0000 |
commit | 632e75b73be49b73f8640eb013a55dbc46a199d1 (patch) | |
tree | a38500afc01411508ba2cb986f490ca4c8fa9ca1 /dom/media | |
parent | d679e9ef7be1236743602f47a5403a0e1369678b (diff) | |
download | uxp-632e75b73be49b73f8640eb013a55dbc46a199d1.tar.gz |
Issue mcp-graveyard/UXP#1053 - Remove Android-specific blocks from system headers and /dom
Diffstat (limited to 'dom/media')
-rw-r--r-- | dom/media/GraphDriver.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/dom/media/GraphDriver.cpp b/dom/media/GraphDriver.cpp index 37c692a4bc..fe40c82e24 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 |