docs: fix erroneous removal warning for decrementCapturerCount (#36016)

This commit is contained in:
Jeremy Rose 2022-10-13 08:40:25 -07:00 committed by GitHub
parent ce138fe969
commit dc5d27a73b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -103,7 +103,7 @@ w.capturePage().then(image => {
})
```
### Removed: `webContents.decrementCapturerCount(stayHidden, stayAwake)`
### Deprecated: `webContents.decrementCapturerCount(stayHidden, stayAwake)`
`webContents.decrementCapturerCount(stayHidden, stayAwake)` has been deprecated.
It is now automatically handled by `webContents.capturePage` when a page capture completes.