From 3460f712054996e11152fb18b5bed8708eb30d05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Thu, 27 Feb 2020 01:46:10 +0000 Subject: 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 --- components/style/stylesheet_set.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'components/style/stylesheet_set.rs') 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); -- cgit v1.2.3