refactor: use content::GlobalRenderFrameHostId (#38843)

Co-authored-by: Milan Burda <miburda@microsoft.com>
This commit is contained in:
Milan Burda 2023-06-20 15:32:31 +02:00 committed by GitHub
parent 93024be3b2
commit 2b3902e526
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 16 deletions

View file

@ -8,6 +8,7 @@
#include <vector>
#include "base/memory/weak_ptr.h"
#include "content/public/browser/global_routing_id.h"
#include "content/public/browser/web_contents_observer.h"
#include "electron/shell/common/api/api.mojom.h"
#include "mojo/public/cpp/bindings/associated_receiver.h"
@ -59,8 +60,7 @@ class ElectronWebContentsUtilityHandlerImpl
content::RenderFrameHost* GetRenderFrameHost();
const int render_process_id_;
const int render_frame_id_;
content::GlobalRenderFrameHostId render_frame_host_id_;
mojo::AssociatedReceiver<mojom::ElectronWebContentsUtility> receiver_{this};