Bug 1349417 - Ignore all calls within InitSystem; r=bustage
authorManish Goregaokar <manishearth@gmail.com>
Fri, 21 Apr 2017 17:01:51 -0700
changeset 566722 184dc928df689bea8008becd8fe6ea2058c028e6
parent 566721 91767db31b3fb150a238f2473e362a429b55f682
child 566723 68798c23a30d97b4fd5c98c15b407c1f71720a41
push id55308
push userbmo:rajesh.kathiriya507@gmail.com
push dateSat, 22 Apr 2017 10:15:05 +0000
reviewersbustage
bugs1349417
milestone55.0a1
Bug 1349417 - Ignore all calls within InitSystem; r=bustage MozReview-Commit-ID: 6jEM9PR5iZU
js/src/devtools/rootAnalysis/analyzeHeapWrites.js
--- a/js/src/devtools/rootAnalysis/analyzeHeapWrites.js
+++ b/js/src/devtools/rootAnalysis/analyzeHeapWrites.js
@@ -321,21 +321,17 @@ function ignoreCallEdge(entry, callee)
         /::UnlabeledDispatch/.test(name))
     {
         return true;
     }
 
     // We manually lock here
     if ("Gecko_nsFont_InitSystem" == name)
     {
-        if (/nsRuleNode::ComputeSystemFont/.test(callee) ||
-            /nsFont::/.test(callee)) {
-            return true;
-        }
-        
+        return true;
     }
 
     return false;
 }
 
 function ignoreContents(entry)
 {
     var whitelist = [