Remove the isolate parameter of GetWrapper

This commit is contained in:
Cheng Zhao 2016-04-25 10:19:25 +09:00
parent 2ae52d0ff4
commit 60d2cb8a84
3 changed files with 5 additions and 7 deletions

View file

@ -28,7 +28,7 @@ Menu::~Menu() {
}
void Menu::AfterInit(v8::Isolate* isolate) {
mate::Dictionary wrappable(isolate, GetWrapper(isolate));
mate::Dictionary wrappable(isolate, GetWrapper());
mate::Dictionary delegate;
if (!wrappable.Get("delegate", &delegate))
return;