diff options
Diffstat (limited to 'components/script/dom/xpathevaluator.rs')
-rw-r--r-- | components/script/dom/xpathevaluator.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/xpathevaluator.rs b/components/script/dom/xpathevaluator.rs index 967f7ef6076..eee70a2f07e 100644 --- a/components/script/dom/xpathevaluator.rs +++ b/components/script/dom/xpathevaluator.rs @@ -22,7 +22,7 @@ use crate::dom::xpathresult::XPathResult; use crate::script_runtime::CanGc; #[dom_struct] -pub struct XPathEvaluator { +pub(crate) struct XPathEvaluator { reflector_: Reflector, window: Dom<Window>, } @@ -35,7 +35,7 @@ impl XPathEvaluator { } } - pub fn new( + pub(crate) fn new( window: &Window, proto: Option<HandleObject>, can_gc: CanGc, |