Bug 1205194 - Make OldWindowSize::GetItem() not stuck. r=smaug
authorXidorn Quan <quanxunzhen@gmail.com>
Thu, 17 Sep 2015 09:14:58 +0800
changeset 295546 aaec3b268d06681560f5ade7af640728092f6600
parent 295545 42e8d6b514a91adf9e9b7ea31a78e6374e0b3432
child 295547 d3dad76b9080a87f048f30d27ad6ca1491401734
push id5245
push userraliiev@mozilla.com
push dateThu, 29 Oct 2015 11:30:51 +0000
treeherdermozilla-beta@dac831dc1bd0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs1205194
milestone43.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 1205194 - Make OldWindowSize::GetItem() not stuck. r=smaug
dom/base/nsDOMWindowUtils.cpp
--- a/dom/base/nsDOMWindowUtils.cpp
+++ b/dom/base/nsDOMWindowUtils.cpp
@@ -3261,16 +3261,17 @@ private:
         OldWindowSize* thisItem = item;
         item = thisItem->getNext();
         delete thisItem;
         continue;
       }
       if (window == aWindow) {
         break;
       }
+      item = item->getNext();
     }
     return item;
   }
 
   static LinkedList<OldWindowSize> sList;
   nsWeakPtr mWindow;
   nsSize mSize;
 };