script: Stop copying the document URL.

This commit is contained in:
Patrick Walton 2015-07-28 19:08:35 -07:00
parent 4d1be2f56c
commit 5dce5f0c97
8 changed files with 19 additions and 16 deletions

View file

@ -1098,7 +1098,7 @@ impl Window {
pub fn get_url(&self) -> Url {
let doc = self.Document();
doc.r().url()
(*doc.r().url()).clone()
}
pub fn resource_task(&self) -> ResourceTask {