diff --git a/layout/inspector/ServoStyleRuleMap.cpp b/layout/inspector/ServoStyleRuleMap.cpp index 3683cecf11df..216d66fcd5a8 100644 --- a/layout/inspector/ServoStyleRuleMap.cpp +++ b/layout/inspector/ServoStyleRuleMap.cpp @@ -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) {