Remove unused recycle argument from Document::unload

This commit is contained in:
George Roman 2018-11-30 17:10:25 +02:00
parent be206f3e5f
commit 6c458b04d2
3 changed files with 4 additions and 4 deletions

View file

@ -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.