aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/documentorshadowroot.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/documentorshadowroot.rs
parent9df1c2f2cc25f77499bc5792547d11cf9db405eb (diff)
downloadservo-e4f34fde1bbddffdf1bd6e5157f9aee416938b8d.tar.gz
servo-e4f34fde1bbddffdf1bd6e5157f9aee416938b8d.zip
Rename StylesheetSet to StylesheetSetRef
Diffstat (limited to 'components/script/dom/documentorshadowroot.rs')
-rw-r--r--components/script/dom/documentorshadowroot.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/documentorshadowroot.rs b/components/script/dom/documentorshadowroot.rs
index 03932159359..5aa2a9eb625 100644
--- a/components/script/dom/documentorshadowroot.rs
+++ b/components/script/dom/documentorshadowroot.rs
@@ -24,7 +24,7 @@ use style::context::QuirksMode;
use style::invalidation::media_queries::{MediaListKey, ToMediaListKey};
use style::media_queries::MediaList;
use style::shared_lock::{SharedRwLock as StyleSharedRwLock, SharedRwLockReadGuard};
-use style::stylesheet_set::StylesheetSet;
+use style::stylesheet_set::StylesheetSetRef;
use style::stylesheets::{CssRule, Origin, Stylesheet};
#[derive(Clone, JSTraceable, MallocSizeOf)]
@@ -216,7 +216,7 @@ impl DocumentOrShadowRoot {
pub fn remove_stylesheet(
owner: &Element,
s: &Arc<Stylesheet>,
- mut stylesheets: StylesheetSet<StyleSheetInDocument>,
+ mut stylesheets: StylesheetSetRef<StyleSheetInDocument>,
) {
let guard = s.shared_lock.read();
@@ -236,7 +236,7 @@ impl DocumentOrShadowRoot {
#[allow(unrooted_must_root)] // Owner needs to be rooted already necessarily.
pub fn add_stylesheet(
owner: &Element,
- mut stylesheets: StylesheetSet<StyleSheetInDocument>,
+ mut stylesheets: StylesheetSetRef<StyleSheetInDocument>,
sheet: Arc<Stylesheet>,
insertion_point: Option<StyleSheetInDocument>,
style_shared_lock: &StyleSharedRwLock,