Make the node environment constrained in browser_main_parts.
This commit is contained in:
parent
1d359cb8aa
commit
6a891be0e4
6 changed files with 24 additions and 21 deletions
|
@ -6,6 +6,7 @@
|
|||
#define ATOM_APP_ATOM_MAIN_DELEGATE_H_
|
||||
|
||||
#include "brightray/common/main_delegate.h"
|
||||
#include "brightray/common/content_client.h"
|
||||
|
||||
namespace atom {
|
||||
|
||||
|
@ -30,7 +31,7 @@ class AtomMainDelegate : public brightray::MainDelegate {
|
|||
virtual content::ContentRendererClient*
|
||||
CreateContentRendererClient() OVERRIDE;
|
||||
|
||||
scoped_ptr<brightray::ContentClient> content_client_;
|
||||
brightray::ContentClient content_client_;
|
||||
scoped_ptr<content::ContentBrowserClient> browser_client_;
|
||||
scoped_ptr<content::ContentRendererClient> renderer_client_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue