mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: remember the render_process_id when permission requests occur on the IO thread (#13621)
Fixes #13620
This commit is contained in:
committed by
Charles Kerr
parent
376094fc0c
commit
addac43bbc
@@ -90,6 +90,7 @@ PlatformNotificationService::CheckPermissionOnIOThread(
|
||||
content::ResourceContext* resource_context,
|
||||
const GURL& origin,
|
||||
int render_process_id) {
|
||||
render_process_id_ = render_process_id;
|
||||
return blink::mojom::PermissionStatus::GRANTED;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user