aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmllielement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/htmllielement.rs')
-rw-r--r--components/script/dom/htmllielement.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/htmllielement.rs b/components/script/dom/htmllielement.rs
index 1ce637d4089..9d9e8d073c7 100644
--- a/components/script/dom/htmllielement.rs
+++ b/components/script/dom/htmllielement.rs
@@ -18,7 +18,7 @@ use crate::dom::virtualmethods::VirtualMethods;
use crate::script_runtime::CanGc;
#[dom_struct]
-pub struct HTMLLIElement {
+pub(crate) struct HTMLLIElement {
htmlelement: HTMLElement,
}
@@ -34,7 +34,7 @@ impl HTMLLIElement {
}
#[allow(crown::unrooted_must_root)]
- pub fn new(
+ pub(crate) fn new(
local_name: LocalName,
prefix: Option<Prefix>,
document: &Document,