diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2020-02-27 01:46:10 +0000 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2020-04-16 16:35:07 +0200 |
commit | 3460f712054996e11152fb18b5bed8708eb30d05 (patch) | |
tree | 14633b91849cf7197a1260553e8edb760030196f /components/style/stylesheet_set.rs | |
parent | 225e0000f0eb06ba640d4279ef6b5a44b6db960b (diff) | |
download | servo-3460f712054996e11152fb18b5bed8708eb30d05.tar.gz servo-3460f712054996e11152fb18b5bed8708eb30d05.zip |
style: Minor cleanup of ServoStyleSet.
Removing unused arguments and so on.
The origin can always be inferred from the stylesheet so it wasn't being used.
Differential Revision: https://phabricator.services.mozilla.com/D64150
Diffstat (limited to 'components/style/stylesheet_set.rs')
-rw-r--r-- | components/style/stylesheet_set.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/style/stylesheet_set.rs b/components/style/stylesheet_set.rs index cca08c9d233..a9cd39eef20 100644 --- a/components/style/stylesheet_set.rs +++ b/components/style/stylesheet_set.rs @@ -294,7 +294,9 @@ where // Removing sheets makes us tear down the whole cascade and invalidation // data, but only if the sheet has been involved in at least one flush. // Checking whether the sheet has been committed allows us to avoid - // rebuilding the world when sites quickly append and remove a stylesheet. + // rebuilding the world when sites quickly append and remove a + // stylesheet. + // // See bug 1434756. if sheet.committed { self.set_data_validity_at_least(DataValidity::FullyInvalid); |