Cleanup code of beginFrameSubscription

This commit is contained in:
Cheng Zhao 2016-06-26 11:46:40 +09:00
parent 3d2ad0080d
commit e1ad64013e
4 changed files with 20 additions and 16 deletions

View file

@ -921,7 +921,7 @@ For the `mouseWheel` event, the `event` object also have following properties:
### `webContents.beginFrameSubscription([onlyDirty ,]callback)`
* `onlyDirty` Boolean
* `onlyDirty` Boolean (optional) - Defaults to `false`
* `callback` Function
Begin subscribing for presentation events and captured frames, the `callback`