Fix release render view with wrong ID

This commit is contained in:
Cheng Zhao 2015-06-23 16:43:55 +08:00
parent 015ef3e014
commit 1f97cee7c9
2 changed files with 3 additions and 5 deletions

View file

@ -249,9 +249,7 @@ void WebContents::ExitFullscreenModeForTab(content::WebContents* source) {
}
void WebContents::RenderViewDeleted(content::RenderViewHost* render_view_host) {
Emit("render-view-deleted",
render_view_host->GetProcess()->GetID(),
render_view_host->GetRoutingID());
Emit("render-view-deleted", render_view_host->GetProcess()->GetID());
}
void WebContents::RenderProcessGone(base::TerminationStatus status) {