mirror of
https://github.com/electron/electron.git
synced 2026-01-27 16:28:23 -05:00
Prototype of WebContentsDestroyed has changed.
This commit is contained in:
@@ -289,7 +289,7 @@ void InspectableWebContentsImpl::DidFinishLoad(int64 frame_id,
|
||||
view_->ShowDevTools();
|
||||
}
|
||||
|
||||
void InspectableWebContentsImpl::WebContentsDestroyed(content::WebContents*) {
|
||||
void InspectableWebContentsImpl::WebContentsDestroyed() {
|
||||
content::DevToolsManager::GetInstance()->ClientHostClosing(
|
||||
frontend_host_.get());
|
||||
Observe(nullptr);
|
||||
|
||||
@@ -103,7 +103,7 @@ class InspectableWebContentsImpl :
|
||||
const GURL& validated_url,
|
||||
bool is_main_frame,
|
||||
content::RenderViewHost*) OVERRIDE;
|
||||
virtual void WebContentsDestroyed(content::WebContents*) OVERRIDE;
|
||||
virtual void WebContentsDestroyed() OVERRIDE;
|
||||
|
||||
// content::WebContentsDelegate
|
||||
|
||||
|
||||
Reference in New Issue
Block a user