From e4f34fde1bbddffdf1bd6e5157f9aee416938b8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Jim=C3=A9nez=20Moreno?= Date: Mon, 22 Apr 2019 13:19:51 +0200 Subject: Rename StylesheetSet to StylesheetSetRef --- components/script/dom/shadowroot.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'components/script/dom/shadowroot.rs') 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), ) } -- cgit v1.2.3