diff options
author | Josh Matthews <josh@joshmatthews.net> | 2015-02-19 13:08:50 -0500 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2015-03-03 16:25:40 -0500 |
commit | e2c4f5ed6726ed7434197180b301f74a967d3ffc (patch) | |
tree | 543d4b085a38fdbc134c945d78fff2b2dec619b4 /components/script/dom/htmlformelement.rs | |
parent | d9f04180a5d9146f4486ede6fabb9da638cccd41 (diff) | |
download | servo-e2c4f5ed6726ed7434197180b301f74a967d3ffc.tar.gz servo-e2c4f5ed6726ed7434197180b301f74a967d3ffc.zip |
Move everything unrelated to the frame tree out of Page and into Document or Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal.
Diffstat (limited to 'components/script/dom/htmlformelement.rs')
-rw-r--r-- | components/script/dom/htmlformelement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlformelement.rs b/components/script/dom/htmlformelement.rs index ddc8d42b661..9c2148334e2 100644 --- a/components/script/dom/htmlformelement.rs +++ b/components/script/dom/htmlformelement.rs @@ -215,7 +215,7 @@ impl<'a> HTMLFormElementHelpers for JSRef<'a, HTMLFormElement> { } // This is wrong. https://html.spec.whatwg.org/multipage/forms.html#planned-navigation - win.r().script_chan().send(ScriptMsg::TriggerLoad(win.r().page().id, load_data)).unwrap(); + win.r().script_chan().send(ScriptMsg::TriggerLoad(win.r().pipeline(), load_data)).unwrap(); } fn get_form_dataset<'b>(self, submitter: Option<FormSubmitter<'b>>) -> Vec<FormDatum> { |