mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
DispatchBeforeUnload is now a method of WebContents.
This commit is contained in:
@@ -175,7 +175,7 @@ void InspectableWebContentsImpl::ActivateWindow() {
|
||||
}
|
||||
|
||||
void InspectableWebContentsImpl::CloseWindow() {
|
||||
devtools_web_contents()->GetMainFrame()->DispatchBeforeUnload(false);
|
||||
devtools_web_contents()->DispatchBeforeUnload(false);
|
||||
}
|
||||
|
||||
void InspectableWebContentsImpl::SetContentsResizingStrategy(
|
||||
|
||||
Reference in New Issue
Block a user