mirror of
https://github.com/electron/electron.git
synced 2026-01-26 15:58:07 -05:00
Woops, how did that happen ;)
This commit is contained in:
committed by
Cheng Zhao
parent
f928a399ae
commit
ecbeb0d117
@@ -533,6 +533,8 @@ App::~App() {
|
||||
content::BrowserChildProcessObserver::Remove(this);
|
||||
}
|
||||
|
||||
App* App::self_ = nullptr;
|
||||
|
||||
App* App::Get() {
|
||||
return App::self_;
|
||||
}
|
||||
|
||||
@@ -101,7 +101,7 @@ class App : public AtomBrowserClient::Delegate,
|
||||
protected:
|
||||
explicit App(v8::Isolate* isolate);
|
||||
~App() override;
|
||||
static App* self_ = nullptr;
|
||||
static App* self_;
|
||||
|
||||
// BrowserObserver:
|
||||
void OnBeforeQuit(bool* prevent_default) override;
|
||||
|
||||
Reference in New Issue
Block a user