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 111322 5c82f5a5e90d9682d32b72ae76c9deca4a84804e
parent 111313 3fb7c935a625095027941e3850b510bacee63437
child 111323 cb88e87e664c924b5b764ce1fca2397cb740a675
push id17010
push userryanvm@gmail.com
push dateThu, 25 Oct 2012 02:49:20 +0000
treeherdermozilla-inbound@cb88e87e664c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjlebar
bugs803688
milestone19.0a1
first release with
nightly linux32
5c82f5a5e90d / 19.0a1 / 20121025030620 / files
nightly linux64
5c82f5a5e90d / 19.0a1 / 20121025030620 / files
nightly mac
5c82f5a5e90d / 19.0a1 / 20121025030620 / files
nightly win32
5c82f5a5e90d / 19.0a1 / 20121025030620 / files
nightly win64
5c82f5a5e90d / 19.0a1 / 20121025030620 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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);
     }