Correct misspelling of destroy in method name

This commit is contained in:
Kevin Sawicki 2016-08-25 11:24:16 -07:00
parent 9548184b15
commit 7a0129bbc7
4 changed files with 4 additions and 4 deletions

View file

@ -405,7 +405,7 @@ void NativeWindow::CloseContents(content::WebContents* source) {
Observe(nullptr);
FOR_EACH_OBSERVER(NativeWindowObserver, observers_,
WillDestoryNativeObject());
WillDestroyNativeObject());
// When the web contents is gone, close the window immediately, but the
// memory will not be freed until you call delete.