aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/html
diff options
context:
space:
mode:
authorJack Moffitt <jack@metajack.im>2014-07-07 00:30:04 -0600
committerJack Moffitt <jack@metajack.im>2014-07-07 00:30:04 -0600
commit7babb6d104d28119d95d2309d686a388717eb95c (patch)
tree89e6a25f3c6a28e2a28197a5f0fe45de4d399df6 /src/components/script/html
parente62637fee2f1c9627468dde81a68df1dd40b6bc9 (diff)
parent422bda73792fc1ac5ef589367b69841f2a02ced1 (diff)
downloadservo-7babb6d104d28119d95d2309d686a388717eb95c.tar.gz
servo-7babb6d104d28119d95d2309d686a388717eb95c.zip
Merge pull request #2776 from glennw/warnings
Warning police.
Diffstat (limited to 'src/components/script/html')
-rw-r--r--src/components/script/html/cssparse.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/html/cssparse.rs b/src/components/script/html/cssparse.rs
index cb54e9dd198..2f96822770e 100644
--- a/src/components/script/html/cssparse.rs
+++ b/src/components/script/html/cssparse.rs
@@ -43,7 +43,7 @@ fn parse_css(provenance: StylesheetProvenance) -> Stylesheet {
}
InlineProvenance(base_url, data) => {
debug!("cssparse: loading inline stylesheet {:s}", data);
- Stylesheet::from_str(data.as_slice(), base_url, environment_encoding)
+ Stylesheet::from_str(data.as_slice(), base_url)
}
}
}