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 111429 5c82f5a5e90d9682d32b72ae76c9deca4a84804e
parent 111428 3fb7c935a625095027941e3850b510bacee63437
child 111455 cb88e87e664c924b5b764ce1fca2397cb740a675
push id93
push usernmatsakis@mozilla.com
push dateWed, 31 Oct 2012 21:26:57 +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);
     }