refactor: simplify child process tracking for app.getAppMetrics() (#26657)

This commit is contained in:
Milan Burda 2020-12-01 02:47:46 +01:00 committed by GitHub
parent 61f339d3aa
commit 4e3e3d414d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 27 deletions

View file

@ -315,8 +315,6 @@ class ElectronBrowserClient : public content::ContentBrowserClient,
// pending_render_process => web contents.
std::map<int, content::WebContents*> pending_processes_;
std::map<int, base::ProcessId> render_process_host_pids_;
std::set<int> renderer_is_subframe_;
// list of site per affinity. weak_ptr to prevent instance locking