Remove redundant call to NotifyWindowClosed.
This commit is contained in:
parent
f3961a8007
commit
f6cca0df48
1 changed files with 0 additions and 2 deletions
|
@ -461,8 +461,6 @@ void NativeWindow::CloseContents(content::WebContents* source) {
|
||||||
// overriding the OnWindowClosed method in the observer.
|
// overriding the OnWindowClosed method in the observer.
|
||||||
CloseImmediately();
|
CloseImmediately();
|
||||||
|
|
||||||
NotifyWindowClosed();
|
|
||||||
|
|
||||||
// Do not sent "unresponsive" event after window is closed.
|
// Do not sent "unresponsive" event after window is closed.
|
||||||
window_unresposive_closure_.Cancel();
|
window_unresposive_closure_.Cancel();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue