summaryrefslogtreecommitdiff
path: root/xpcom
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-10-16 11:48:00 +0000
committerMoonchild <moonchild@palemoon.org>2022-04-01 15:28:15 +0200
commit426a9755d99a9fc818f151d407cbc9bdcd434a5f (patch)
treedd88a166e589e344e1cd7be7eb24488552790405 /xpcom
parentc14bb310ce237c375a5cf4a89e7689ddfbf016c5 (diff)
downloaduxp-426a9755d99a9fc818f151d407cbc9bdcd434a5f.tar.gz
Issue #1053 - 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 e0c49ee3de..7b851882dd 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);