aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/stylesheet.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/stylesheet.rs')
-rw-r--r--components/script/dom/stylesheet.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/stylesheet.rs b/components/script/dom/stylesheet.rs
index 02c96623800..7def8f1ba6c 100644
--- a/components/script/dom/stylesheet.rs
+++ b/components/script/dom/stylesheet.rs
@@ -20,7 +20,7 @@ pub struct StyleSheet {
impl StyleSheet {
#[allow(unrooted_must_root)]
- fn new_inherited(type_: DOMString, href: Option<DOMString>, title: Option<DOMString>) -> StyleSheet {
+ pub fn new_inherited(type_: DOMString, href: Option<DOMString>, title: Option<DOMString>) -> StyleSheet {
StyleSheet {
reflector_: Reflector::new(),
type_: type_,