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 | dce8a3300b191eeebee6f15f3f6e0f5a12a177b1 (patch) | |
tree | a38500afc01411508ba2cb986f490ca4c8fa9ca1 /dom/power | |
parent | 515c1193c5663e46a313acb7a39ed2f3d209f69e (diff) | |
download | uxp-dce8a3300b191eeebee6f15f3f6e0f5a12a177b1.tar.gz |
Issue #1053 - Remove Android-specific blocks from system headers and /dom
Diffstat (limited to 'dom/power')
-rw-r--r-- | dom/power/PowerManagerService.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/dom/power/PowerManagerService.cpp b/dom/power/PowerManagerService.cpp index 057d5c992b..bc2f40c40a 100644 --- a/dom/power/PowerManagerService.cpp +++ b/dom/power/PowerManagerService.cpp @@ -23,23 +23,7 @@ #include <unistd.h> #endif -#ifdef ANDROID -#include <android/log.h> -extern "C" char* PrintJSStack(); -static void LogFunctionAndJSStack(const char* funcname) { - char *jsstack = PrintJSStack(); - __android_log_print(ANDROID_LOG_INFO, "PowerManagerService", \ - "Call to %s. The JS stack is:\n%s\n", - funcname, - jsstack ? jsstack : "<no JS stack>"); - JS_smprintf_free(jsstack); -} -// bug 839452 -#define LOG_FUNCTION_AND_JS_STACK() \ - LogFunctionAndJSStack(__PRETTY_FUNCTION__); -#else #define LOG_FUNCTION_AND_JS_STACK() -#endif namespace mozilla { namespace dom { |