aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/shadowroot.rs
diff options
context:
space:
mode:
authorFernando Jiménez Moreno <ferjmoreno@gmail.com>2019-04-22 13:19:51 +0200
committerFernando Jiménez Moreno <ferjmoreno@gmail.com>2019-04-26 12:00:26 +0200
commite4f34fde1bbddffdf1bd6e5157f9aee416938b8d (patch)
tree4f60805ee1f12afe3c2be37ddd4fb7097ae8305b /components/script/dom/shadowroot.rs
parent9df1c2f2cc25f77499bc5792547d11cf9db405eb (diff)
downloadservo-e4f34fde1bbddffdf1bd6e5157f9aee416938b8d.tar.gz
servo-e4f34fde1bbddffdf1bd6e5157f9aee416938b8d.zip
Rename StylesheetSet to StylesheetSetRef
Diffstat (limited to 'components/script/dom/shadowroot.rs')
-rw-r--r--components/script/dom/shadowroot.rs6
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),
)
}