mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Remove redundant url clones
They are now redundant since now document.url() returns a struct rather than a reference.
This commit is contained in:
parent
fb6cc15208
commit
91f3d4f474
13 changed files with 22 additions and 22 deletions
|
@ -1751,7 +1751,7 @@ impl Node {
|
|||
let window = document.window();
|
||||
let loader = DocumentLoader::new(&*document.loader());
|
||||
let document = Document::new(window, None,
|
||||
Some((*document.url()).clone()),
|
||||
Some(document.url()),
|
||||
is_html_doc, None,
|
||||
None, DocumentSource::NotFromParser, loader,
|
||||
None, None);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue