DispatchBeforeUnload is now a method of WebContents.
This commit is contained in:
parent
8d6a879707
commit
d47a94b1fe
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ void InspectableWebContentsImpl::ActivateWindow() {
|
|||
}
|
||||
|
||||
void InspectableWebContentsImpl::CloseWindow() {
|
||||
devtools_web_contents()->GetMainFrame()->DispatchBeforeUnload(false);
|
||||
devtools_web_contents()->DispatchBeforeUnload(false);
|
||||
}
|
||||
|
||||
void InspectableWebContentsImpl::SetContentsResizingStrategy(
|
||||
|
|
Loading…
Reference in a new issue