Bug 1067711 (attempt 2) - Fix an assertion failure in the System memory reporter. r=erahm.
authorNicholas Nethercote <nnethercote@mozilla.com>
Wed, 17 Sep 2014 18:23:33 -0700
changeset 206128 80e8680ef5cb162898050066a0e44366ac4c3192
parent 206127 b453cf797446779dd92d6817b77440f1d9c75b93
child 206129 9362521b7f7a5a938bb09d8f6f6ac96b02a609dc
push id27513
push usercbook@mozilla.com
push dateFri, 19 Sep 2014 12:15:35 +0000
treeherdermozilla-central@dadafedc0760 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerserahm
bugs1067711
milestone35.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1067711 (attempt 2) - Fix an assertion failure in the System memory reporter. r=erahm.
xpcom/base/SystemMemoryReporter.cpp
--- a/xpcom/base/SystemMemoryReporter.cpp
+++ b/xpcom/base/SystemMemoryReporter.cpp
@@ -538,16 +538,18 @@ private:
         }
 
       } else {
         aName.AppendLiteral("other-files");
         if (EndsWithLiteral(basename, ".xpi")) {
           aName.AppendLiteral("/extensions");
         } else if (dirname.Find("/fontconfig") != -1) {
           aName.AppendLiteral("/fontconfig");
+        } else {
+          aName.AppendLiteral("/misc");
         }
         aTag = aName;
         aName.Append('/');
       }
 
       aName.Append(basename);
       aDesc.Append(absPath);
     } else {