Fix loss of --node-integration token after refresh.

This commit is contained in:
Cheng Zhao 2014-01-31 10:30:16 +08:00
parent ec00da416f
commit 61b69a4e8a
2 changed files with 47 additions and 11 deletions

View file

@ -32,6 +32,9 @@ class AtomBrowserClient : public brightray::BrowserClient {
virtual brightray::BrowserMainParts* OverrideCreateBrowserMainParts(
const content::MainFunctionParams&) OVERRIDE;
// The render process which would be swapped out soon.
content::RenderProcessHost* dying_render_process_;
DISALLOW_COPY_AND_ASSIGN(AtomBrowserClient);
};