Prototype of WebContentsDestroyed has changed.

This commit is contained in:
Cheng Zhao 2014-07-27 10:27:19 +00:00
parent 8c38a7547b
commit 4e63780e4a
2 changed files with 2 additions and 2 deletions

View file

@ -289,7 +289,7 @@ void InspectableWebContentsImpl::DidFinishLoad(int64 frame_id,
view_->ShowDevTools(); view_->ShowDevTools();
} }
void InspectableWebContentsImpl::WebContentsDestroyed(content::WebContents*) { void InspectableWebContentsImpl::WebContentsDestroyed() {
content::DevToolsManager::GetInstance()->ClientHostClosing( content::DevToolsManager::GetInstance()->ClientHostClosing(
frontend_host_.get()); frontend_host_.get());
Observe(nullptr); Observe(nullptr);

View file

@ -103,7 +103,7 @@ class InspectableWebContentsImpl :
const GURL& validated_url, const GURL& validated_url,
bool is_main_frame, bool is_main_frame,
content::RenderViewHost*) OVERRIDE; content::RenderViewHost*) OVERRIDE;
virtual void WebContentsDestroyed(content::WebContents*) OVERRIDE; virtual void WebContentsDestroyed() OVERRIDE;
// content::WebContentsDelegate // content::WebContentsDelegate