aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/html/cssparse.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/script/html/cssparse.rs')
-rw-r--r--src/components/script/html/cssparse.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/script/html/cssparse.rs b/src/components/script/html/cssparse.rs
index 95a600682ac..0a04daf15ae 100644
--- a/src/components/script/html/cssparse.rs
+++ b/src/components/script/html/cssparse.rs
@@ -28,8 +28,8 @@ pub fn spawn_css_parser(provenance: StylesheetProvenance,
do task::spawn {
let url = do provenance_cell.with_ref |p| {
match *p {
- UrlProvenance(ref the_url) => copy *the_url,
- InlineProvenance(ref the_url, _) => copy *the_url
+ UrlProvenance(ref the_url) => (*the_url).clone(),
+ InlineProvenance(ref the_url, _) => (*the_url).clone()
}
};