fix: remember the render_process_id when permission requests occur on the IO thread (#13621)

Fixes #13620
This commit is contained in:
Samuel Attard 2018-07-12 03:21:47 +10:00 committed by Charles Kerr
parent 376094fc0c
commit addac43bbc

View file

@ -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;
}