diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2016-10-04 15:49:48 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2016-10-06 21:35:52 +0200 |
commit | 44ca9f3d712e9b49681e9848db089a1c05c7ffff (patch) | |
tree | c4c5f0ea086d3859977d542bd337b6c3a60ef095 /components/script/dom/htmlformelement.rs | |
parent | 514819f37a12c79c0398863c2ef817c9a4337f56 (diff) | |
download | servo-44ca9f3d712e9b49681e9848db089a1c05c7ffff.tar.gz servo-44ca9f3d712e9b49681e9848db089a1c05c7ffff.zip |
Make TaskSource::queue take a &GlobalScope
Diffstat (limited to 'components/script/dom/htmlformelement.rs')
-rw-r--r-- | components/script/dom/htmlformelement.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script/dom/htmlformelement.rs b/components/script/dom/htmlformelement.rs index 58454eed0dc..e1c53a41e12 100644 --- a/components/script/dom/htmlformelement.rs +++ b/components/script/dom/htmlformelement.rs @@ -12,7 +12,6 @@ use dom::bindings::codegen::Bindings::HTMLFormElementBinding::HTMLFormElementMet use dom::bindings::codegen::Bindings::HTMLInputElementBinding::HTMLInputElementMethods; use dom::bindings::codegen::Bindings::HTMLTextAreaElementBinding::HTMLTextAreaElementMethods; use dom::bindings::conversions::DerivedFrom; -use dom::bindings::global::GlobalRef; use dom::bindings::inheritance::{Castable, ElementTypeId, HTMLElementTypeId, NodeTypeId}; use dom::bindings::js::{JS, MutNullableHeap, Root}; use dom::bindings::refcounted::Trusted; @@ -444,7 +443,7 @@ impl HTMLFormElement { }; // Step 3 - window.dom_manipulation_task_source().queue(nav, GlobalRef::Window(&window)).unwrap(); + window.dom_manipulation_task_source().queue(nav, window.upcast()).unwrap(); } /// Interactively validate the constraints of form elements |