mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 15:25:52 +00:00
Bug 1719963 - Followup so that getMatchedCSSRules keeps working.
MANUAL PUSH: Orange fixup CLOSED TREE
This commit is contained in:
parent
59d88af1cd
commit
6dc014f3df
@ -48,7 +48,9 @@ void ServoStyleRuleMap::SheetAdded(StyleSheet& aStyleSheet) {
|
||||
void ServoStyleRuleMap::SheetCloned(StyleSheet& aStyleSheet) {
|
||||
// Invalidate all data inside. We could probably track down all the individual
|
||||
// rules that changed etc, but it doesn't seem worth it.
|
||||
mTable.Clear();
|
||||
//
|
||||
// TODO: We can't do this until GetCssRulesInternal stops cloning.
|
||||
// mTable.Clear();
|
||||
}
|
||||
|
||||
void ServoStyleRuleMap::SheetRemoved(StyleSheet& aStyleSheet) {
|
||||
|
Loading…
Reference in New Issue
Block a user