diff options
author | Nikhil Shagrithaya <nikhilshagri@gmail.com> | 2017-10-19 11:02:22 +0530 |
---|---|---|
committer | Nikhil Shagrithaya <nikhilshagri@gmail.com> | 2017-10-19 11:02:22 +0530 |
commit | 07e7e670985442c4eef7dd33a3a204dbec46f914 (patch) | |
tree | 41d1b494845185451895a937be3f2e627f90280e /components/script/dom/servoparser/async_html.rs | |
parent | 2e0bea898e1b135b16cc8b1f28a4cff752eaedb3 (diff) | |
download | servo-07e7e670985442c4eef7dd33a3a204dbec46f914.tar.gz servo-07e7e670985442c4eef7dd33a3a204dbec46f914.zip |
removed same_tree and has_parent_node methods
Diffstat (limited to 'components/script/dom/servoparser/async_html.rs')
-rw-r--r-- | components/script/dom/servoparser/async_html.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/components/script/dom/servoparser/async_html.rs b/components/script/dom/servoparser/async_html.rs index bbfa1da0a93..d8ae85efe9c 100644 --- a/components/script/dom/servoparser/async_html.rs +++ b/components/script/dom/servoparser/async_html.rs @@ -586,10 +586,6 @@ impl TreeSink for Sink { target.qual_name.as_ref().expect("Expected qual name of node!").expanded() } - fn same_tree(&self, _: &Self::Handle, _: &Self::Handle) -> bool { - unreachable!(); - } - fn create_element(&mut self, name: QualName, html_attrs: Vec<HtmlAttribute>, _flags: ElementFlags) -> Self::Handle { let mut node = self.new_parse_node(); @@ -632,10 +628,6 @@ impl TreeSink for Sink { node } - fn has_parent_node(&self, _: &Self::Handle) -> bool { - unreachable!(); - } - fn associate_with_form( &mut self, target: &Self::Handle, |