Woops, how did that happen ;)
This commit is contained in:
parent
f928a399ae
commit
ecbeb0d117
2 changed files with 3 additions and 1 deletions
|
@ -533,6 +533,8 @@ App::~App() {
|
||||||
content::BrowserChildProcessObserver::Remove(this);
|
content::BrowserChildProcessObserver::Remove(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
App* App::self_ = nullptr;
|
||||||
|
|
||||||
App* App::Get() {
|
App* App::Get() {
|
||||||
return App::self_;
|
return App::self_;
|
||||||
}
|
}
|
||||||
|
|
|
@ -101,7 +101,7 @@ class App : public AtomBrowserClient::Delegate,
|
||||||
protected:
|
protected:
|
||||||
explicit App(v8::Isolate* isolate);
|
explicit App(v8::Isolate* isolate);
|
||||||
~App() override;
|
~App() override;
|
||||||
static App* self_ = nullptr;
|
static App* self_;
|
||||||
|
|
||||||
// BrowserObserver:
|
// BrowserObserver:
|
||||||
void OnBeforeQuit(bool* prevent_default) override;
|
void OnBeforeQuit(bool* prevent_default) override;
|
||||||
|
|
Loading…
Reference in a new issue