Bug 851892 followup. Disable most of Rule::IsKnownLive for now to reopen CLOSED TREE

This commit is contained in:
Boris Zbarsky 2017-01-20 13:57:42 -05:00
parent 54a6797cde
commit f40fa57e5c

View File

@ -83,6 +83,10 @@ Rule::IsKnownLive() const
return true;
}
#if 1
return false;
#else
// Disabled pending bug 1332704 getting resolved for now.
StyleSheet* sheet = GetStyleSheet();
if (!sheet) {
return false;
@ -94,6 +98,7 @@ Rule::IsKnownLive() const
return nsCCUncollectableMarker::InGeneration(
sheet->GetAssociatedDocument()->GetMarkedCCGeneration());
#endif
}
NS_IMPL_CYCLE_COLLECTION_CAN_SKIP_BEGIN(Rule)