aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/servoparser/html.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2016-10-17 17:22:07 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2016-10-17 17:22:07 +0200
commitb6d6b3b7f3407bfa56422f80fc7fc873970bfa72 (patch)
tree24a62f4e15097a71a332a243c3b2a33cd50dcb5d /components/script/dom/servoparser/html.rs
parentd80bf2ada73295bc91a267d0f8f7c4a5ffb1a03f (diff)
downloadservo-b6d6b3b7f3407bfa56422f80fc7fc873970bfa72.tar.gz
servo-b6d6b3b7f3407bfa56422f80fc7fc873970bfa72.zip
Bump html5ever to 0.5.5
Diffstat (limited to 'components/script/dom/servoparser/html.rs')
-rw-r--r--components/script/dom/servoparser/html.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/servoparser/html.rs b/components/script/dom/servoparser/html.rs
index f92a21e912f..26db7aa4b0c 100644
--- a/components/script/dom/servoparser/html.rs
+++ b/components/script/dom/servoparser/html.rs
@@ -63,7 +63,7 @@ impl<'a> TreeSink for Sink {
JS::from_ref(self.document.upcast())
}
- fn get_template_contents(&self, target: JS<Node>) -> JS<Node> {
+ fn get_template_contents(&mut self, target: JS<Node>) -> JS<Node> {
let template = target.downcast::<HTMLTemplateElement>()
.expect("tried to get template contents of non-HTMLTemplateElement in HTML parsing");
JS::from_ref(template.Content().upcast())