DispatchBeforeUnload is now a method of WebContents.

This commit is contained in:
Cheng Zhao 2014-07-27 11:18:15 +00:00
parent 8d6a879707
commit d47a94b1fe

View file

@ -175,7 +175,7 @@ void InspectableWebContentsImpl::ActivateWindow() {
}
void InspectableWebContentsImpl::CloseWindow() {
devtools_web_contents()->GetMainFrame()->DispatchBeforeUnload(false);
devtools_web_contents()->DispatchBeforeUnload(false);
}
void InspectableWebContentsImpl::SetContentsResizingStrategy(