From c7b51e7aa15d8b3178343daa58a297a514cd9a70 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Tue, 26 Jan 2016 18:30:40 +0100 Subject: Update html5ever and xml5ever for API changes. --- components/script/parse/html.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'components/script/parse/html.rs') diff --git a/components/script/parse/html.rs b/components/script/parse/html.rs index dc201402a61..d4ea3cf2093 100644 --- a/components/script/parse/html.rs +++ b/components/script/parse/html.rs @@ -29,13 +29,13 @@ use html5ever::Attribute; use html5ever::serialize::TraversalScope; use html5ever::serialize::TraversalScope::{ChildrenOnly, IncludeNode}; use html5ever::serialize::{AttrRef, Serializable, Serializer}; +use html5ever::tendril::StrTendril; use html5ever::tree_builder::{NextParserState, NodeOrText, QuirksMode, TreeSink}; use msg::constellation_msg::PipelineId; use parse::Parser; use std::borrow::Cow; use std::io::{self, Write}; use string_cache::QualName; -use tendril::StrTendril; use url::Url; use util::str::DOMString; @@ -54,6 +54,9 @@ fn insert(parent: &Node, reference_child: Option<&Node>, child: NodeOrText TreeSink for servohtmlparser::Sink { + type Output = Self; + fn finish(self) -> Self { self } + type Handle = JS; fn get_document(&mut self) -> JS { -- cgit v1.2.3