Do not rely on Constructor to call Init
This makes it deterministic when the JavaScript is initialized, which can make our logic more clear.
This commit is contained in:
parent
84bb82866d
commit
1505a46ed0
11 changed files with 44 additions and 44 deletions
|
@ -17,7 +17,7 @@ namespace api {
|
|||
|
||||
class MenuMac : public Menu {
|
||||
protected:
|
||||
explicit MenuMac(v8::Isolate* isolate);
|
||||
MenuMac(v8::Isolate* isolate, v8::Local<v8::Object> wrapper);
|
||||
|
||||
void PopupAt(Window* window, int x, int y, int positioning_item) override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue