chore: remove unused variable in removeWindow (#16715)

This commit is contained in:
Shelley Vohr 2019-02-04 15:00:39 -08:00 committed by GitHub
parent a9991f5451
commit f142aae9eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -660,8 +660,6 @@ void TopLevelWindow::SetMenu(v8::Isolate* isolate, v8::Local<v8::Value> value) {
}
void TopLevelWindow::RemoveMenu() {
mate::Handle<Menu> menu;
menu_.Reset();
window_->SetMenu(nullptr);
}