mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 851892 followup. Disable most of Rule::IsKnownLive for now to reopen CLOSED TREE
This commit is contained in:
parent
54a6797cde
commit
f40fa57e5c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user