chore: remove unused variable in removeWindow (#16715)
This commit is contained in:
parent
a9991f5451
commit
f142aae9eb
1 changed files with 0 additions and 2 deletions
|
@ -660,8 +660,6 @@ void TopLevelWindow::SetMenu(v8::Isolate* isolate, v8::Local<v8::Value> value) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void TopLevelWindow::RemoveMenu() {
|
void TopLevelWindow::RemoveMenu() {
|
||||||
mate::Handle<Menu> menu;
|
|
||||||
|
|
||||||
menu_.Reset();
|
menu_.Reset();
|
||||||
window_->SetMenu(nullptr);
|
window_->SetMenu(nullptr);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue