summaryrefslogtreecommitdiff
path: root/js/xpconnect/src/Sandbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'js/xpconnect/src/Sandbox.cpp')
-rw-r--r--js/xpconnect/src/Sandbox.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/js/xpconnect/src/Sandbox.cpp b/js/xpconnect/src/Sandbox.cpp
index 742559ce3b..ba40e120ed 100644
--- a/js/xpconnect/src/Sandbox.cpp
+++ b/js/xpconnect/src/Sandbox.cpp
@@ -127,16 +127,6 @@ SandboxDump(JSContext* cx, unsigned argc, Value* vp)
if (!cstr)
return false;
-#if defined(XP_MACOSX)
- // Be nice and convert all \r to \n.
- char* c = cstr;
- char* cEnd = cstr + strlen(cstr);
- while (c < cEnd) {
- if (*c == '\r')
- *c = '\n';
- c++;
- }
-#endif
#ifdef ANDROID
__android_log_write(ANDROID_LOG_INFO, "GeckoDump", cstr);
#endif