diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-05-06 01:31:26 -0500 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-05-06 01:31:26 -0500 |
commit | 16a7c792b564a6eab48391865a7060b8dba38284 (patch) | |
tree | 451212188c1784028e4f1f556825a2ccd9209296 /components/script/parse/html.rs | |
parent | 5e59e77c416dbe35e8c30ca1c21c9088ed17a079 (diff) | |
parent | 06436e9c79e8dde69bde60b1652ccb8648ab7f75 (diff) | |
download | servo-16a7c792b564a6eab48391865a7060b8dba38284.tar.gz servo-16a7c792b564a6eab48391865a7060b8dba38284.zip |
Auto merge of #5931 - nox:rm-helpers, r=jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5931)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/parse/html.rs')
-rw-r--r-- | components/script/parse/html.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/parse/html.rs b/components/script/parse/html.rs index 8bb528c2efe..c870fe8c616 100644 --- a/components/script/parse/html.rs +++ b/components/script/parse/html.rs @@ -121,7 +121,7 @@ impl<'a> TreeSink for servohtmlparser::Sink { new_node: NodeOrText<JS<Node>>) -> Result<(), NodeOrText<JS<Node>>> { // If there is no parent, return the node to the parser. let sibling: Root<Node> = sibling.root(); - let parent = match sibling.r().parent_node() { + let parent = match sibling.r().GetParentNode() { Some(p) => p.root(), None => return Err(new_node), }; |