Always initailize webContents in BrowserWindow

This commit is contained in:
Cheng Zhao 2015-06-24 19:04:08 +08:00
parent 8c83dfe918
commit f198148c79
2 changed files with 14 additions and 6 deletions

View file

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