Backed out changeset 65178b7ee6da (bug 1319626) for bustage after merge
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Thu, 24 Nov 2016 17:04:13 +0100
changeset 324188 bad312aefb42982f492ad2cf36f4c6c3d698f4f7
parent 324187 2be7dfbc71592c3186f11d4dfa4987a4752325f6
child 324199 b9e86e3c313f7345ccc5a9ba28e0201c92351cd8
child 324260 6bae00362e6fc37eba540b6a5b70a35b923528f2
push id24
push usermaklebus@msu.edu
push dateTue, 20 Dec 2016 03:11:33 +0000
bugs1319626
milestone53.0a1
backs out65178b7ee6dafb7c660ec880c48bce237dfd8629
Backed out changeset 65178b7ee6da (bug 1319626) for bustage after merge
xpcom/glue/nsTArray.h
--- a/xpcom/glue/nsTArray.h
+++ b/xpcom/glue/nsTArray.h
@@ -1516,22 +1516,16 @@ public:
   // @param aArray    The elements to append to this array.
   // @param aArrayLen The number of elements to append to this array.
   // @return          A pointer to the new elements in the array, or null if
   //                  the operation failed due to insufficient memory.
 protected:
   template<class Item, typename ActualAlloc = Alloc>
   elem_type* AppendElements(const Item* aArray, size_type aArrayLen);
 
-  template<class Item, size_t Length, typename ActualAlloc = Alloc>
-  elem_type* AppendElements(const mozilla::Array<Item, Length>& aArray)
-  {
-    return AppendElements<Item, ActualAlloc>(&aArray[0], Length);
-  }
-
 public:
 
   template<class Item>
   /* MOZ_MUST_USE */
   elem_type* AppendElements(const Item* aArray, size_type aArrayLen,
                             const mozilla::fallible_t&)
   {
     return AppendElements<Item, FallibleAlloc>(aArray, aArrayLen);