aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/parse
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2015-05-04 12:29:51 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2015-05-04 15:18:27 +0200
commit06436e9c79e8dde69bde60b1652ccb8648ab7f75 (patch)
tree804cd97fda2420096db776cb15742a57a9c41332 /components/script/parse
parentb43a2ed80714131db4c92a51c0046245aa43da11 (diff)
downloadservo-06436e9c79e8dde69bde60b1652ccb8648ab7f75.tar.gz
servo-06436e9c79e8dde69bde60b1652ccb8648ab7f75.zip
Remove helpers that correspond to DOM methods
Diffstat (limited to 'components/script/parse')
-rw-r--r--components/script/parse/html.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/parse/html.rs b/components/script/parse/html.rs
index d16177e3a07..66e05e78266 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),
};