diff options
Diffstat (limited to 'gfx/layers/LayersLogging.cpp')
-rw-r--r-- | gfx/layers/LayersLogging.cpp | 11 |
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 |