]> khamidou — GitHub mirrors - electron.git/commitdiff
Fix typo in the comment.
authorCheng Zhao <zcbenz@gmail.com>
Wed, 15 May 2013 05:47:15 +0000 (13:47 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Wed, 15 May 2013 05:47:15 +0000 (13:47 +0800)
browser/native_window.cc

index 1c7fab7101fa4fae8cd1879bf76419db83c4fd43..02421c376f5f1142a007ddf597417aac6633dccd 100644 (file)
@@ -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();