Bug 1310547 - LinkedList compiler fixes
☠☠ backed out by ebd1c1823d61 ☠ ☠
authorBill McCloskey <billm@mozilla.com>
Fri, 28 Oct 2016 20:53:53 -0700
changeset 365127 b15d4e773bdd7005280e572a02112f838e5230a9
parent 365126 d6f081b175ca15fac645dc66fcde9cdbf324a423
child 365128 a171aae3ae491dd52e184735c51924c7a467a0bf
push id1369
push userjlorenzo@mozilla.com
push dateMon, 27 Feb 2017 14:59:41 +0000
treeherdermozilla-release@d75a1dba431f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1310547
milestone52.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 1310547 - LinkedList compiler fixes
mfbt/LinkedList.h
--- a/mfbt/LinkedList.h
+++ b/mfbt/LinkedList.h
@@ -290,17 +290,17 @@ public:
   bool isInList() const
   {
     MOZ_ASSERT((mNext == this) == (mPrev == this));
     return mNext != this;
   }
 
 private:
   friend class LinkedList<T>;
-  friend class detail::LinkedListElementTraits<T>;
+  friend struct detail::LinkedListElementTraits<T>;
 
   enum class NodeKind {
     Normal,
     Sentinel
   };
 
   explicit LinkedListElement(NodeKind nodeKind)
     : mNext(this),