Support IPC messages in isolated context
This commit is contained in:
parent
073d8c2177
commit
78e0b80dc7
4 changed files with 10 additions and 1 deletions
|
@ -334,6 +334,10 @@ void AtomRendererClient::DidCreateScriptContext(
|
|||
}
|
||||
}
|
||||
|
||||
v8::Local<v8::Context> AtomRendererClient::GetContext() {
|
||||
return node_bindings_->uv_env()->context();
|
||||
}
|
||||
|
||||
void AtomRendererClient::WillReleaseScriptContext(
|
||||
v8::Handle<v8::Context> context, content::RenderFrame* render_frame) {
|
||||
// Only allow node integration for the main frame, unless it is a devtools
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue