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/workers | |
parent | 515c1193c5663e46a313acb7a39ed2f3d209f69e (diff) | |
download | uxp-dce8a3300b191eeebee6f15f3f6e0f5a12a177b1.tar.gz |
Issue #1053 - Remove Android-specific blocks from system headers and /dom
Diffstat (limited to 'dom/workers')
-rw-r--r-- | dom/workers/WorkerPrivate.cpp | 9 | ||||
-rw-r--r-- | dom/workers/WorkerScope.cpp | 7 |
2 files changed, 0 insertions, 16 deletions
diff --git a/dom/workers/WorkerPrivate.cpp b/dom/workers/WorkerPrivate.cpp index 1f8b3b70c4..f33ded1c5f 100644 --- a/dom/workers/WorkerPrivate.cpp +++ b/dom/workers/WorkerPrivate.cpp @@ -91,10 +91,6 @@ #include "prthread.h" #include "xpcpublic.h" -#ifdef ANDROID -#include <android/log.h> -#endif - #ifdef DEBUG #include "nsThreadManager.h" #endif @@ -334,11 +330,6 @@ LogErrorToConsole(const WorkerErrorReport& aReport, uint64_t aInnerWindowId) static const char kErrorString[] = "JS error in Web Worker: %s [%s:%u]"; -#ifdef ANDROID - __android_log_print(ANDROID_LOG_INFO, "Gecko", kErrorString, msg.get(), - filename.get(), aReport.mLineNumber); -#endif - fprintf(stderr, kErrorString, msg.get(), filename.get(), aReport.mLineNumber); fflush(stderr); } diff --git a/dom/workers/WorkerScope.cpp b/dom/workers/WorkerScope.cpp index 195df5c9eb..081f0f1065 100644 --- a/dom/workers/WorkerScope.cpp +++ b/dom/workers/WorkerScope.cpp @@ -33,10 +33,6 @@ #include "nsIServiceWorkerManager.h" #include "nsIScriptTimeoutHandler.h" -#ifdef ANDROID -#include <android/log.h> -#endif - #include "Crypto.h" #include "Principal.h" #include "RuntimeService.h" @@ -378,9 +374,6 @@ WorkerGlobalScope::Dump(const Optional<nsAString>& aString) const NS_ConvertUTF16toUTF8 str(aString.Value()); MOZ_LOG(nsContentUtils::DOMDumpLog(), LogLevel::Debug, ("[Worker.Dump] %s", str.get())); -#ifdef ANDROID - __android_log_print(ANDROID_LOG_INFO, "Gecko", "%s", str.get()); -#endif fputs(str.get(), stdout); fflush(stdout); } |