Merge m-c to inbound.
authorRyan VanderMeulen <ryanvm@gmail.com>
Wed, 24 Oct 2012 22:49:17 -0400
changeset 111455 cb88e87e664c924b5b764ce1fca2397cb740a675
parent 111454 888ac1c4683084aaea58aeba89dbb50074b4008a (current diff)
parent 111429 5c82f5a5e90d9682d32b72ae76c9deca4a84804e (diff)
child 111456 6c392aeb7d115dde582edb6356afff44e088a3c0
push id93
push usernmatsakis@mozilla.com
push dateWed, 31 Oct 2012 21:26:57 +0000
milestone19.0a1
Merge m-c to inbound.
--- 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);
     }