Fix building on non-mac
This commit is contained in:
parent
993695af07
commit
272592415d
2 changed files with 3 additions and 3 deletions
|
@ -49,8 +49,8 @@ void MenuViews::PopupAt(Window* window, int x, int y, int positioning_item) {
|
|||
}
|
||||
|
||||
// static
|
||||
mate::WrappableBase* Menu::Create() {
|
||||
return new MenuViews();
|
||||
mate::WrappableBase* Menu::Create(v8::Isolate* isolate) {
|
||||
return new MenuViews(isolate);
|
||||
}
|
||||
|
||||
} // namespace api
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue