aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmltablesectionelement.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2019-07-31 13:34:01 +0200
committerSimon Sapin <simon.sapin@exyr.org>2019-07-31 13:34:01 +0200
commitc38c964f1b1d2614f50863be0b896e1700b5fea8 (patch)
treecb22eaf3b552b3fac4bd06b70e42fbf3d30e369c /components/script/dom/htmltablesectionelement.rs
parent87e7e3d429f2122ffa9ef016ba5659a3b21be91b (diff)
downloadservo-c38c964f1b1d2614f50863be0b896e1700b5fea8.tar.gz
servo-c38c964f1b1d2614f50863be0b896e1700b5fea8.zip
Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30)
Diffstat (limited to 'components/script/dom/htmltablesectionelement.rs')
-rw-r--r--components/script/dom/htmltablesectionelement.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmltablesectionelement.rs b/components/script/dom/htmltablesectionelement.rs
index ff7dbcd3679..6d31e1ad0c6 100644
--- a/components/script/dom/htmltablesectionelement.rs
+++ b/components/script/dom/htmltablesectionelement.rs
@@ -59,7 +59,7 @@ struct RowsFilter;
impl CollectionFilter for RowsFilter {
fn filter(&self, elem: &Element, root: &Node) -> bool {
elem.is::<HTMLTableRowElement>() &&
- elem.upcast::<Node>().GetParentNode().deref() == Some(root)
+ elem.upcast::<Node>().GetParentNode().as_deref() == Some(root)
}
}