diff options
Diffstat (limited to 'components/script/dom/shadowroot.rs')
-rw-r--r-- | components/script/dom/shadowroot.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/shadowroot.rs b/components/script/dom/shadowroot.rs index a32f9bb5c24..153993a1d62 100644 --- a/components/script/dom/shadowroot.rs +++ b/components/script/dom/shadowroot.rs @@ -25,7 +25,7 @@ use style::author_styles::AuthorStyles; use style::dom::TElement; use style::media_queries::Device; use style::shared_lock::SharedRwLockReadGuard; -use style::stylesheet_set::StylesheetSet; +use style::stylesheet_set::StylesheetSetRef; use style::stylesheets::Stylesheet; // https://dom.spec.whatwg.org/#interface-shadowroot @@ -102,7 +102,7 @@ impl ShadowRoot { .cloned(); DocumentOrShadowRoot::add_stylesheet( owner, - StylesheetSet::Author(stylesheets), + StylesheetSetRef::Author(stylesheets), sheet, insertion_point, self.document.style_shared_lock(), @@ -115,7 +115,7 @@ impl ShadowRoot { DocumentOrShadowRoot::remove_stylesheet( owner, s, - StylesheetSet::Author(&mut self.author_styles.borrow_mut().stylesheets), + StylesheetSetRef::Author(&mut self.author_styles.borrow_mut().stylesheets), ) } |