Event "close" => "closed", fix #2149
This commit is contained in:
parent
fedf764b7b
commit
4379d24e9d
2 changed files with 2 additions and 2 deletions
|
@ -250,7 +250,7 @@ void WebContents::MoveContents(content::WebContents* source,
|
|||
}
|
||||
|
||||
void WebContents::CloseContents(content::WebContents* source) {
|
||||
Emit("closed");
|
||||
Emit("close");
|
||||
if (type_ == BROWSER_WINDOW)
|
||||
owner_window()->CloseContents(source);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue