mirror of
https://github.com/electron/electron.git
synced 2026-01-28 08:48:14 -05: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