Don't delay node module initialization
This commit is contained in:
parent
1043f07b42
commit
1b30cac372
5 changed files with 41 additions and 43 deletions
|
@ -529,8 +529,6 @@ void OnIconDataAvailable(v8::Isolate* isolate,
|
|||
} // namespace
|
||||
|
||||
App::App(v8::Isolate* isolate) {
|
||||
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
|
||||
|
||||
static_cast<AtomBrowserClient*>(AtomBrowserClient::Get())->set_delegate(this);
|
||||
Browser::Get()->AddObserver(this);
|
||||
content::GpuDataManager::GetInstance()->AddObserver(this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue