Browse Source

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

Fixes #13620
trop[bot] 6 years ago
parent
commit
97319e5a3a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      brightray/browser/platform_notification_service.cc

+ 1 - 0
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;
 }