aboutsummaryrefslogtreecommitdiffstats
path: root/components/style
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2020-02-27 01:46:10 +0000
committerEmilio Cobos Álvarez <emilio@crisal.io>2020-04-16 16:35:07 +0200
commit3460f712054996e11152fb18b5bed8708eb30d05 (patch)
tree14633b91849cf7197a1260553e8edb760030196f /components/style
parent225e0000f0eb06ba640d4279ef6b5a44b6db960b (diff)
downloadservo-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')
-rw-r--r--components/style/stylesheet_set.rs4
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);