Auto merge of #13801 - nox:h5e, r=jdm

Bump html5ever to 0.5.5

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13801)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-10-17 12:33:36 -05:00 committed by GitHub
commit cbe2f7e53b
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())