Bug 945585 - Bustage fix. a=bustage
authorRyan VanderMeulen <ryanvm@gmail.com>
Thu, 02 Jan 2014 18:27:03 -0500
changeset 175504 6800c2e02e51439bf3a402911555e18ad74cbd99
parent 175503 c915f234da2170b0c371662cc397323632fa3ac5
child 175505 45a275782d8a327974a9243a340f0723bcfb0b0f
push id445
push userffxbld
push dateMon, 10 Mar 2014 22:05:19 +0000
treeherdermozilla-release@dc38b741b04e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs945585
milestone28.0a2
Bug 945585 - Bustage fix. a=bustage CLOSED TREE
content/base/src/nsDocument.cpp
--- a/content/base/src/nsDocument.cpp
+++ b/content/base/src/nsDocument.cpp
@@ -1643,17 +1643,17 @@ nsDocument::Release()
   nsrefcnt count = mRefCnt.decr(base, &shouldDelete);
   NS_LOG_RELEASE(this, count, "nsDocument");
   if (count == 0) {
     if (mStackRefCnt && !mNeedsReleaseAfterStackRefCntRelease) {
       mNeedsReleaseAfterStackRefCntRelease = true;
       NS_ADDREF_THIS();
       return mRefCnt.get();
     }
-    mRefCnt.incr(base);
+    mRefCnt.incr();
     nsNodeUtils::LastRelease(this);
     mRefCnt.decr(base);
     if (shouldDelete) {
       mRefCnt.stabilizeForDeletion();
       DeleteCycleCollectable();
     }
   }
   return count;