Fix releasing the wrong renderer view.
This commit is contained in:
parent
4135040449
commit
e70d195cde
3 changed files with 5 additions and 5 deletions
|
@ -23,10 +23,10 @@ WebContents::WebContents(content::WebContents* web_contents)
|
|||
WebContents::~WebContents() {
|
||||
}
|
||||
|
||||
void WebContents::RenderViewDeleted(content::RenderViewHost*) {
|
||||
void WebContents::RenderViewDeleted(content::RenderViewHost* render_view_host) {
|
||||
base::ListValue args;
|
||||
args.AppendInteger(GetProcessID());
|
||||
args.AppendInteger(GetRoutingID());
|
||||
args.AppendInteger(render_view_host->GetProcess()->GetID());
|
||||
args.AppendInteger(render_view_host->GetRoutingID());
|
||||
Emit("render-view-deleted", args);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue