fix: IncrementCapturerCount doesn't increase the capturer count (#32973)
This commit is contained in:
parent
59246a4c7c
commit
108ee7037f
3 changed files with 84 additions and 2 deletions
|
@ -3127,8 +3127,9 @@ void WebContents::IncrementCapturerCount(gin::Arguments* args) {
|
|||
// get stayAwake arguments if they exist
|
||||
args->GetNext(&stay_awake);
|
||||
|
||||
std::ignore =
|
||||
web_contents()->IncrementCapturerCount(size, stay_hidden, stay_awake);
|
||||
std::ignore = web_contents()
|
||||
->IncrementCapturerCount(size, stay_hidden, stay_awake)
|
||||
.Release();
|
||||
}
|
||||
|
||||
void WebContents::DecrementCapturerCount(gin::Arguments* args) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue