mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Remove unused recycle argument from Document::unload
This commit is contained in:
parent
be206f3e5f
commit
6c458b04d2
3 changed files with 4 additions and 4 deletions
|
@ -604,7 +604,7 @@ impl WindowMethods for Window {
|
|||
// Step 1, prompt to unload.
|
||||
if doc.prompt_to_unload(false) {
|
||||
// Step 2, unload.
|
||||
doc.unload(false, false);
|
||||
doc.unload(false);
|
||||
// Step 3, remove from the user interface
|
||||
let _ = self.send_to_embedder(EmbedderMsg::CloseBrowser);
|
||||
// Step 4, discard browsing context.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue