mirror of
https://github.com/servo/servo.git
synced 2025-07-29 10:10:34 +01:00
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
This commit is contained in:
parent
225e0000f0
commit
3460f71205
1 changed files with 3 additions and 1 deletions
|
@ -294,7 +294,9 @@ where
|
||||||
// Removing sheets makes us tear down the whole cascade and invalidation
|
// 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.
|
// 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
|
// 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.
|
// See bug 1434756.
|
||||||
if sheet.committed {
|
if sheet.committed {
|
||||||
self.set_data_validity_at_least(DataValidity::FullyInvalid);
|
self.set_data_validity_at_least(DataValidity::FullyInvalid);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue