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