diff options
Diffstat (limited to 'components/script/dom/htmlformcontrolscollection.rs')
-rw-r--r-- | components/script/dom/htmlformcontrolscollection.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/htmlformcontrolscollection.rs b/components/script/dom/htmlformcontrolscollection.rs index de9152404c4..390a1ca4d8d 100644 --- a/components/script/dom/htmlformcontrolscollection.rs +++ b/components/script/dom/htmlformcontrolscollection.rs @@ -22,7 +22,7 @@ use crate::dom::window::Window; use crate::script_runtime::CanGc; #[dom_struct] -pub struct HTMLFormControlsCollection { +pub(crate) struct HTMLFormControlsCollection { collection: HTMLCollection, form: Dom<HTMLFormElement>, } @@ -41,7 +41,7 @@ impl HTMLFormControlsCollection { } } - pub fn new( + pub(crate) fn new( window: &Window, form: &HTMLFormElement, filter: Box<dyn CollectionFilter + 'static>, |