diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2018-11-01 14:09:54 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2018-11-10 17:47:28 +0100 |
commit | a15d33a10e8a0aa1c02fa44ede50a63b95606b8f (patch) | |
tree | 5b0ef37530e77e646c2b6bc7df3d95e756607e77 /components/style/invalidation/stylesheets.rs | |
parent | e1fcffb336d763d851f14fae5cda464209552bb2 (diff) | |
download | servo-a15d33a10e8a0aa1c02fa44ede50a63b95606b8f.tar.gz servo-a15d33a10e8a0aa1c02fa44ede50a63b95606b8f.zip |
`cargo fix --edition`
Diffstat (limited to 'components/style/invalidation/stylesheets.rs')
-rw-r--r-- | components/style/invalidation/stylesheets.rs | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/components/style/invalidation/stylesheets.rs b/components/style/invalidation/stylesheets.rs index fac9428bc75..cbdcd2b2af8 100644 --- a/components/style/invalidation/stylesheets.rs +++ b/components/style/invalidation/stylesheets.rs @@ -7,19 +7,19 @@ #![deny(unsafe_code)] -use dom::{TDocument, TElement, TNode}; +use crate::dom::{TDocument, TElement, TNode}; +use crate::invalidation::element::element_wrapper::{ElementSnapshot, ElementWrapper}; +use crate::invalidation::element::restyle_hints::RestyleHint; +use crate::media_queries::Device; +use crate::selector_parser::{SelectorImpl, Snapshot, SnapshotMap}; +use crate::shared_lock::SharedRwLockReadGuard; +use crate::stylesheets::{CssRule, StylesheetInDocument}; +use crate::Atom; +use crate::CaseSensitivityExt; +use crate::LocalName as SelectorLocalName; use fxhash::FxHashSet; -use invalidation::element::element_wrapper::{ElementSnapshot, ElementWrapper}; -use invalidation::element::restyle_hints::RestyleHint; -use media_queries::Device; -use selector_parser::{SelectorImpl, Snapshot, SnapshotMap}; use selectors::attr::CaseSensitivity; use selectors::parser::{Component, LocalName, Selector}; -use shared_lock::SharedRwLockReadGuard; -use stylesheets::{CssRule, StylesheetInDocument}; -use Atom; -use CaseSensitivityExt; -use LocalName as SelectorLocalName; /// A style sheet invalidation represents a kind of element or subtree that may /// need to be restyled. Whether it represents a whole subtree or just a single @@ -419,7 +419,7 @@ impl StylesheetInvalidationSet { guard: &SharedRwLockReadGuard, device: &Device, ) { - use stylesheets::CssRule::*; + use crate::stylesheets::CssRule::*; debug!("StylesheetInvalidationSet::collect_invalidations_for_rule"); debug_assert!(!self.fully_invalid, "Not worth to be here!"); |