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 290184 59fe9a7b94c7e4ced362db3fc46295dec48760a8
parent 290183 1eee02156b68f5171ef8d087ed5bb614339b053a
child 290185 d1ae745b7e3fcb2dbeea4814fa4f907160b1d0e9
push id30114
push usercbook@mozilla.com
push dateThu, 24 Mar 2016 15:15:54 +0000
treeherdermozilla-central@24c5fbde4488 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstbsaunde
bugs1257128
milestone48.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 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,