aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/formdataevent.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/formdataevent.rs')
-rw-r--r--components/script/dom/formdataevent.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/formdataevent.rs b/components/script/dom/formdataevent.rs
index fc1134f0f80..cb3b91dbf5b 100644
--- a/components/script/dom/formdataevent.rs
+++ b/components/script/dom/formdataevent.rs
@@ -21,13 +21,13 @@ use crate::dom::window::Window;
use crate::script_runtime::CanGc;
#[dom_struct]
-pub struct FormDataEvent {
+pub(crate) struct FormDataEvent {
event: Event,
form_data: Dom<FormData>,
}
impl FormDataEvent {
- pub fn new(
+ pub(crate) fn new(
global: &GlobalScope,
type_: Atom,
can_bubble: EventBubbles,