aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlformelement.rs
diff options
context:
space:
mode:
authortoidiu <toidiu@protonmail.com>2017-09-03 16:30:48 -0400
committertoidiu <toidiu@protonmail.com>2017-09-03 16:30:48 -0400
commit99e4504f85afe0e9fa678796735c971295c8c709 (patch)
tree32636f7e53de477ac5a3008395f72560648dc923 /components/script/dom/htmlformelement.rs
parenta3df0cf4debadab400cc05e77a082514a4ae6c25 (diff)
downloadservo-99e4504f85afe0e9fa678796735c971295c8c709.tar.gz
servo-99e4504f85afe0e9fa678796735c971295c8c709.zip
move name implementation as default implementation to the trait and remove overrides.
Diffstat (limited to 'components/script/dom/htmlformelement.rs')
-rwxr-xr-xcomponents/script/dom/htmlformelement.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/components/script/dom/htmlformelement.rs b/components/script/dom/htmlformelement.rs
index bf957e3b3b4..34ce7c25ec1 100755
--- a/components/script/dom/htmlformelement.rs
+++ b/components/script/dom/htmlformelement.rs
@@ -1116,8 +1116,6 @@ struct PlannedNavigation {
}
impl Runnable for PlannedNavigation {
- fn name(&self) -> &'static str { "PlannedNavigation" }
-
fn handler(self: Box<PlannedNavigation>) {
if self.generation_id == self.form.root().generation_id.get() {
let script_chan = self.script_chan.clone();