Don't fork renderer process for guest

This commit is contained in:
Cheng Zhao 2014-10-24 18:44:15 +08:00
parent 4ccb0cccf3
commit 58a38d90b8
10 changed files with 25 additions and 36 deletions

View file

@ -26,7 +26,7 @@ createGuest = (embedder, params) ->
destroyGuest id
# Init guest web view after attached.
guest.once 'internal-did-attach', (event, params) ->
guest.once 'did-attach', (event, params) ->
min = width: params.minwidth, height: params.minheight
max = width: params.maxwidth, height: params.maxheight
@setAutoSize params.autosize, min, max