refactor: remove InspectableWebContents::GetAll() (#38442)

It is unused and also keeps a persistent std::list<>, so remove it.
This commit is contained in:
Charles Kerr 2023-05-25 03:23:19 -05:00 committed by GitHub
parent 64045fd058
commit a20896f519
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 13 deletions

View file

@ -6,7 +6,6 @@
#ifndef ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_H_
#define ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_H_
#include <list>
#include <map>
#include <memory>
#include <set>
@ -42,9 +41,6 @@ class InspectableWebContents
public content::WebContentsDelegate,
public DevToolsEmbedderMessageDispatcher::Delegate {
public:
using List = std::list<InspectableWebContents*>;
static const List& GetAll();
static void RegisterPrefs(PrefRegistrySimple* pref_registry);
InspectableWebContents(std::unique_ptr<content::WebContents> web_contents,