Specify type instead of isGuest

This commit is contained in:
Kevin Sawicki 2016-06-14 09:23:03 -07:00
parent c7b2545b1b
commit ee0bab6389
2 changed files with 18 additions and 8 deletions

View file

@ -63,7 +63,7 @@ const createGuest = function (embedder, params) {
const id = getNextInstanceId(embedder)
const guest = webContents.create({
isGuest: true,
type: 'webview',
partition: params.partition,
embedder: embedder
})