Commit a8709f0c authored by Rune Lillesveen's avatar Rune Lillesveen Committed by Commit Bot

Missing clear of type_rule_invalidation_set_.

Type rule invalidation sets are not used on the global ruleset, only
rulesets for specific stylesheets. Those RuleFeatureSets are disposed
with the whole RuleSet and re-created every time which means this did
not cause a bug. However, we should clear to be consistent and on the
safe side.

Change-Id: Icaade0122a34d3f0945f95093dcab6427e02509b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1760733
Commit-Queue: Eric Willigers <ericwilligers@chromium.org>
Reviewed-by: default avatarEric Willigers <ericwilligers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#688244}
parent 546edfe6
......@@ -1018,6 +1018,7 @@ void RuleFeatureSet::Clear() {
pseudo_invalidation_sets_.clear();
universal_sibling_invalidation_set_ = nullptr;
nth_invalidation_set_ = nullptr;
type_rule_invalidation_set_ = nullptr;
viewport_dependent_media_query_results_.clear();
device_dependent_media_query_results_.clear();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment