Make BrowserWindow options argument optional

Resolves #3473
This commit is contained in:
Eran Tiktin 2015-11-21 06:22:19 +02:00
parent f374508a61
commit 18de28c3ff
2 changed files with 13 additions and 4 deletions

View file

@ -38,8 +38,7 @@ class WebContents;
class Window : public mate::TrackableObject<Window>,
public NativeWindowObserver {
public:
static mate::Wrappable* New(v8::Isolate* isolate,
const mate::Dictionary& options);
static mate::Wrappable* New(v8::Isolate* isolate, mate::Arguments* args);
static void BuildPrototype(v8::Isolate* isolate,
v8::Local<v8::ObjectTemplate> prototype);