Partial backout of bug 803688 to fix Win7 debug xpcshell perma-purple. r=jlebar
authorRyan VanderMeulen <ryanvm@gmail.com>
Wed, 24 Oct 2012 22:46:14 -0400
changeset 111297 5c82f5a5e90d9682d32b72ae76c9deca4a84804e
parent 111296 3fb7c935a625095027941e3850b510bacee63437
child 111323 cb88e87e664c924b5b764ce1fca2397cb740a675
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersjlebar
bugs803688
milestone19.0a1
Partial backout of bug 803688 to fix Win7 debug xpcshell perma-purple. r=jlebar
mfbt/LinkedList.h
--- a/mfbt/LinkedList.h
+++ b/mfbt/LinkedList.h
@@ -249,20 +249,16 @@ template<typename T>
 class LinkedList
 {
   private:
     LinkedListElement<T> sentinel;
 
   public:
     LinkedList() : sentinel(LinkedListElement<T>::NODE_KIND_SENTINEL) { }
 
-    ~LinkedList() {
-      MOZ_ASSERT(isEmpty());
-    }
-
     /*
      * Add elem to the front of the list.
      */
     void insertFront(T* elem) {
       /* Bypass setNext()'s this->isInList() assertion. */
       sentinel.setNextUnsafe(elem);
     }