mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
script: Stop copying the document URL.
This commit is contained in:
parent
4d1be2f56c
commit
5dce5f0c97
8 changed files with 19 additions and 16 deletions
|
@ -182,6 +182,7 @@ pub fn handle_get_name(page: &Rc<Page>,
|
|||
pub fn handle_get_url(page: &Rc<Page>,
|
||||
_pipeline: PipelineId,
|
||||
reply: IpcSender<Url>) {
|
||||
let url = page.document().r().url();
|
||||
reply.send(url).unwrap();
|
||||
let document = page.document();
|
||||
let url = document.r().url();
|
||||
reply.send((*url).clone()).unwrap();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue