Bump html5ever to 0.5.5

This commit is contained in:
Anthony Ramine 2016-10-17 17:22:07 +02:00
parent d80bf2ada7
commit b6d6b3b7f3
3 changed files with 7 additions and 9 deletions

View file

@ -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())