Bug 1257128 (part 3) - Remove unused createAtom() function in a test. r=tbsaunde.
authorNicholas Nethercote <nnethercote@mozilla.com>
Wed, 16 Mar 2016 21:10:10 +1100
changeset 290243 59fe9a7b94c7e4ced362db3fc46295dec48760a8
parent 290242 1eee02156b68f5171ef8d087ed5bb614339b053a
child 290244 d1ae745b7e3fcb2dbeea4814fa4f907160b1d0e9
push id19656
push usergwagner@mozilla.com
push dateMon, 04 Apr 2016 13:43:23 +0000
treeherderb2g-inbound@e99061fde28a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstbsaunde
bugs1257128
milestone48.0a1
Bug 1257128 (part 3) - Remove unused createAtom() function in a test. r=tbsaunde.
accessible/tests/mochitest/treeview.js
--- a/accessible/tests/mochitest/treeview.js
+++ b/accessible/tests/mochitest/treeview.js
@@ -272,22 +272,16 @@ function treeItem(aText, aOpen, aChildre
   this.colsText = {};
   this.open = aOpen;
   this.value = "true";
   this.cyclerState = 0;
   if (aChildren)
     this.children = aChildren;
 }
 
-function createAtom(aName)
-{
-  return Components.classes["@mozilla.org/atom-service;1"]
-    .getService(Components.interfaces.nsIAtomService).getAtom(aName);
-}
-
 /**
  * Used in conjunction with loadXULTreeAndDoTest and addA11yXULTreeLoadEvent.
  */
 var gXULTreeLoadContext =
 {
   doTestFunc: null,
   treeID: null,
   treeView: null,