aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/html/cssparse.rs
diff options
context:
space:
mode:
authorGlenn Watson <gw@intuitionlibrary.com>2014-07-07 15:43:47 +1000
committerGlenn Watson <gw@intuitionlibrary.com>2014-07-07 15:43:47 +1000
commit422bda73792fc1ac5ef589367b69841f2a02ced1 (patch)
tree89e6a25f3c6a28e2a28197a5f0fe45de4d399df6 /src/components/script/html/cssparse.rs
parente62637fee2f1c9627468dde81a68df1dd40b6bc9 (diff)
downloadservo-422bda73792fc1ac5ef589367b69841f2a02ced1.tar.gz
servo-422bda73792fc1ac5ef589367b69841f2a02ced1.zip
Warning police.
Diffstat (limited to 'src/components/script/html/cssparse.rs')
-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)
}
}
}