From addac43bbc398eddaffcaef071c6f8de95ccda27 Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Thu, 12 Jul 2018 03:21:47 +1000 Subject: [PATCH] fix: remember the render_process_id when permission requests occur on the IO thread (#13621) Fixes #13620 --- brightray/browser/platform_notification_service.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/brightray/browser/platform_notification_service.cc b/brightray/browser/platform_notification_service.cc index 36b2cfb812f3..5913de18e298 100644 --- a/brightray/browser/platform_notification_service.cc +++ b/brightray/browser/platform_notification_service.cc @@ -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; }