Use observer to provide OnRendererUnresponsive
This commit is contained in:
parent
bffb31c337
commit
a3124e8873
4 changed files with 19 additions and 14 deletions
|
@ -636,8 +636,6 @@ void WebContents::RendererUnresponsive(
|
|||
content::WebContents* source,
|
||||
const content::WebContentsUnresponsiveState& unresponsive_state) {
|
||||
Emit("unresponsive");
|
||||
if ((type_ == BROWSER_WINDOW || type_ == OFF_SCREEN) && owner_window())
|
||||
owner_window()->RendererUnresponsive(source);
|
||||
}
|
||||
|
||||
void WebContents::RendererResponsive(content::WebContents* source) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue