Remove redundant call to NotifyWindowClosed.

This commit is contained in:
Cheng Zhao 2014-04-23 11:21:17 +08:00
parent f3961a8007
commit f6cca0df48

View file

@ -461,8 +461,6 @@ void NativeWindow::CloseContents(content::WebContents* source) {
// overriding the OnWindowClosed method in the observer.
CloseImmediately();
NotifyWindowClosed();
// Do not sent "unresponsive" event after window is closed.
window_unresposive_closure_.Cancel();
}