mirror of
https://github.com/servo/servo.git
synced 2025-06-28 19:13:41 +01:00
Remove some dead code.
This commit is contained in:
parent
301a057da6
commit
39e781bcc7
1 changed files with 0 additions and 6 deletions
|
@ -27,12 +27,6 @@ pub fn spawn_css_parser(provenance: StylesheetProvenance,
|
|||
let environment_encoding = UTF_8 as EncodingRef;
|
||||
|
||||
spawn_named("cssparser", proc() {
|
||||
// TODO: CSS parsing should take a base URL.
|
||||
let _url = match provenance {
|
||||
UrlProvenance(ref the_url) => (*the_url).clone(),
|
||||
InlineProvenance(ref the_url, _) => (*the_url).clone()
|
||||
};
|
||||
|
||||
let sheet = match provenance {
|
||||
UrlProvenance(url) => {
|
||||
debug!("cssparse: loading style sheet at {:s}", url.to_str());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue