Backout the temp patch in bug 1011391 for not helping. r=bz
authorAndrew McCreight <amccreight@mozilla.com>
Fri, 27 Jun 2014 10:09:10 -0700
changeset 191258 ad48f01aae1de7b406fd8752a881b5fb78fcb2e8
parent 191257 941b7b706401c2353c54f380c298ece9078e2d2c
child 191259 0216995f0aa8169b43fb1236baf54ecbf5838a23
push id8446
push userkwierso@gmail.com
push dateSat, 28 Jun 2014 00:53:07 +0000
treeherderb2g-inbound@4c01e8759555 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbz
bugs1011391
milestone33.0a1
Backout the temp patch in bug 1011391 for not helping. r=bz This may have also caused a spike in CC time.
layout/style/CSSStyleSheet.cpp
--- a/layout/style/CSSStyleSheet.cpp
+++ b/layout/style/CSSStyleSheet.cpp
@@ -1145,17 +1145,16 @@ NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN(CS
   tmp->DropMedia();
   // We do not unlink mNext; our parent will handle that.  If we
   // unlinked it here, our parent would not be able to walk its list
   // of child sheets and null out the back-references to it, if we got
   // unlinked before it does.
   tmp->DropRuleCollection();
   tmp->UnlinkInner();
   tmp->mScopeElement = nullptr;
-  tmp->ClearRuleCascades();
   NS_IMPL_CYCLE_COLLECTION_UNLINK_PRESERVED_WRAPPER
 NS_IMPL_CYCLE_COLLECTION_UNLINK_END
 NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN(CSSStyleSheet)
   NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mMedia)
   // We do not traverse mNext; our parent will handle that.  See
   // comments in Unlink for why.
   NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mRuleCollection)
   NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mScopeElement)