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

Fixes #13620
This commit is contained in:
trop[bot] 2018-07-13 12:50:57 +10:00 committed by Samuel Attard
parent 041c952574
commit 97319e5a3a

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