Use getBitmap in docs

This commit is contained in:
Cheng Zhao 2016-08-05 18:08:36 +09:00
parent 1be253e1aa
commit 7173d8b01b
2 changed files with 3 additions and 3 deletions

View file

@ -46,7 +46,7 @@ app.once('ready', () => {
})
win.loadURL('http://github.com')
win.webContents.on('paint', (event, dirty, image) => {
// updateBitmap(dirty, image.toBitmap())
// updateBitmap(dirty, image.getBitmap())
})
win.webContents.setFrameRate(30)
})