From b032a7894a648a9ef871b3a5ff4343bc7c967919 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Wed, 13 Apr 2016 12:45:21 +0200 Subject: [PATCH] Remove a pointless Url clone. --- components/compositing/constellation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/compositing/constellation.rs b/components/compositing/constellation.rs index e61419eebc7..3512fde4524 100644 --- a/components/compositing/constellation.rs +++ b/components/compositing/constellation.rs @@ -955,7 +955,7 @@ impl Constellation // Compare the pipeline's url to the new url. If the origin is the same, // then reuse the script thread in creating the new pipeline - let source_url = source_pipeline.url.clone(); + let source_url = &source_pipeline.url; let same_script = source_url.host() == new_url.host() && source_url.port() == new_url.port() &&