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
|
||||
|
|
|
@ -165,7 +165,7 @@ void WebFrame::ExecuteJavaScript(const base::string16& code,
|
|||
|
||||
// static
|
||||
mate::Handle<WebFrame> WebFrame::Create(v8::Isolate* isolate) {
|
||||
return CreateHandle(isolate, new WebFrame(isolate));
|
||||
return mate::CreateHandle(isolate, new WebFrame(isolate));
|
||||
}
|
||||
|
||||
// static
|
||||
|
|
Loading…
Reference in a new issue