summaryrefslogtreecommitdiffstats
path: root/gfx/layers/LayersLogging.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-12-27 06:58:56 +0000
committerMoonchild <moonchild@palemoon.org>2020-12-27 06:58:56 +0000
commit8d4456c797eea9236f4d84cdb23d85ce670152dc (patch)
tree5328170540665a789e1d857957e433f253849f8b /gfx/layers/LayersLogging.cpp
parentae2a160348562dfa5361f1e68226365b240c9597 (diff)
downloadUXP-8d4456c797eea9236f4d84cdb23d85ce670152dc.tar
UXP-8d4456c797eea9236f4d84cdb23d85ce670152dc.tar.gz
UXP-8d4456c797eea9236f4d84cdb23d85ce670152dc.tar.lz
UXP-8d4456c797eea9236f4d84cdb23d85ce670152dc.tar.xz
UXP-8d4456c797eea9236f4d84cdb23d85ce670152dc.zip
Issue #1053 - Part 3a: Remove Android conditionals from /gfx
Diffstat (limited to 'gfx/layers/LayersLogging.cpp')
-rw-r--r--gfx/layers/LayersLogging.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/gfx/layers/LayersLogging.cpp b/gfx/layers/LayersLogging.cpp
index 3d1164360..bf3a13957 100644
--- a/gfx/layers/LayersLogging.cpp
+++ b/gfx/layers/LayersLogging.cpp
@@ -396,18 +396,7 @@ AppendToString(std::stringstream& aStream, ImageFormat format,
void
print_stderr(std::stringstream& aStr)
{
-#if defined(ANDROID)
- // On Android logcat output is truncated to 1024 chars per line, and
- // we usually use std::stringstream to build up giant multi-line gobs
- // of output. So to avoid the truncation we find the newlines and
- // print the lines individually.
- std::string line;
- while (std::getline(aStr, line)) {
- printf_stderr("%s\n", line.c_str());
- }
-#else
printf_stderr("%s", aStr.str().c_str());
-#endif
}
void