Fix building on non-mac

This commit is contained in:
Cheng Zhao 2016-04-25 10:27:54 +09:00
parent 993695af07
commit 272592415d
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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