summaryrefslogtreecommitdiff
path: root/xpcom
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-10-16 11:48:00 +0000
committerMoonchild <moonchild@palemoon.org>2021-10-16 11:48:00 +0000
commit1ba7ef8edb18d625f902ecf2a195ab22f26ebaa8 (patch)
treeb14ddb222b92018bbefb9334025665bda4ecccd1 /xpcom
parent8a592881dbd39b9522786aedc9e8e5000e7522aa (diff)
downloadaura-central-1ba7ef8edb18d625f902ecf2a195ab22f26ebaa8.tar.gz
Issue %3020 - Part 7: Remove Android systrace, more build system removals.
Also updates more comments.
Diffstat (limited to 'xpcom')
-rw-r--r--xpcom/base/SystemMemoryReporter.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/xpcom/base/SystemMemoryReporter.cpp b/xpcom/base/SystemMemoryReporter.cpp
index e0c49ee3d..7b851882d 100644
--- a/xpcom/base/SystemMemoryReporter.cpp
+++ b/xpcom/base/SystemMemoryReporter.cpp
@@ -95,12 +95,6 @@ GetBasename(const nsCString& aPath, nsACString& aOut)
out.Assign(Substring(aPath, idx + 1));
}
- // On Android, some entries in /dev/ashmem end with "(deleted)" (e.g.
- // "/dev/ashmem/libxul.so(deleted)"). We don't care about this modifier, so
- // cut it off when getting the entry's basename.
- if (EndsWithLiteral(out, "(deleted)")) {
- out.Assign(Substring(out, 0, out.RFind("(deleted)")));
- }
out.StripChars(" ");
aOut.Assign(out);