refactor: inline and rename findInPage request id (#26524)
This commit is contained in:
parent
784172b6ca
commit
29211a51df
2 changed files with 2 additions and 4 deletions
|
@ -2627,7 +2627,7 @@ uint32_t WebContents::FindInPage(gin::Arguments* args) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
uint32_t request_id = GetNextRequestId();
|
||||
uint32_t request_id = ++find_in_page_request_id_;
|
||||
gin_helper::Dictionary dict;
|
||||
auto options = blink::mojom::FindOptions::New();
|
||||
if (args->GetNext(&dict)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue