diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2016-11-10 16:16:56 -0800 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2016-11-15 06:56:18 -0800 |
commit | 177d6fa4eefd347645de18bc58120340e16e23f7 (patch) | |
tree | baecfa9af78df9b3d1947159b9e872dfdf0f5d62 /components/script/dom/stylesheet.rs | |
parent | 2220fcdc0bbb46b907a3a5ed974508c67ddb2890 (diff) | |
download | servo-177d6fa4eefd347645de18bc58120340e16e23f7.tar.gz servo-177d6fa4eefd347645de18bc58120340e16e23f7.zip |
Support basic immutable CSSOM
Diffstat (limited to 'components/script/dom/stylesheet.rs')
-rw-r--r-- | components/script/dom/stylesheet.rs | 2 |
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_, |