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

@ -137,7 +137,7 @@ void Window::WillCloseWindow(bool* prevent_default) {
*prevent_default = Emit("close");
}
void Window::WillDestoryNativeObject() {
void Window::WillDestroyNativeObject() {
// Close all child windows before closing current window.
v8::Locker locker(isolate());
v8::HandleScope handle_scope(isolate());