From: Cheng Zhao Date: Wed, 15 May 2013 05:47:15 +0000 (+0800) Subject: Fix typo in the comment. X-Git-Tag: v0.1.0~173 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=bfea9775a080bbd967fd38015fe8b8c60acdf1ca;p=electron.git Fix typo in the comment. --- diff --git a/browser/native_window.cc b/browser/native_window.cc index 1c7fab71..02421c37 100644 --- a/browser/native_window.cc +++ b/browser/native_window.cc @@ -201,7 +201,7 @@ void NativeWindow::CloseContents(content::WebContents* source) { // memory will not be freed until you call delete. // In this way, it would be safe to manage windows via smart pointers. If you // want to free memory when the window is closed, you can do deleting by - // overriding the WillCloseWindow method in the observer. + // overriding the OnWindowClosed method in the observer. CloseImmediately(); NotifyWindowClosed();