Always initailize webContents in BrowserWindow
This commit is contained in:
parent
8c83dfe918
commit
f198148c79
2 changed files with 14 additions and 6 deletions
|
@ -52,6 +52,9 @@ class Window : public mate::TrackableObject<Window>,
|
|||
explicit Window(const mate::Dictionary& options);
|
||||
virtual ~Window();
|
||||
|
||||
// mate::Wrappable:
|
||||
void AfterInit(v8::Isolate* isolate) override;
|
||||
|
||||
// NativeWindowObserver:
|
||||
void OnPageTitleUpdated(bool* prevent_default,
|
||||
const std::string& title) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue