refactor: remove unused field ServiceWorkerMain::weak_factory_
(#46171)
refactor: remove unused field ServiceWorkerMain::weak_factory_
Added in a467d06
, appears to have never been used
This commit is contained in:
parent
3fd35abe98
commit
5623c96dd7
1 changed files with 0 additions and 3 deletions
|
@ -8,7 +8,6 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "base/memory/raw_ptr.h"
|
#include "base/memory/raw_ptr.h"
|
||||||
#include "base/memory/weak_ptr.h"
|
|
||||||
#include "base/process/process.h"
|
#include "base/process/process.h"
|
||||||
#include "content/public/browser/global_routing_id.h"
|
#include "content/public/browser/global_routing_id.h"
|
||||||
#include "content/public/browser/service_worker_context.h"
|
#include "content/public/browser/service_worker_context.h"
|
||||||
|
@ -168,8 +167,6 @@ class ServiceWorkerMain final
|
||||||
mojo::AssociatedRemote<mojom::ElectronRenderer> remote_;
|
mojo::AssociatedRemote<mojom::ElectronRenderer> remote_;
|
||||||
|
|
||||||
std::unique_ptr<gin_helper::Promise<void>> start_worker_promise_;
|
std::unique_ptr<gin_helper::Promise<void>> start_worker_promise_;
|
||||||
|
|
||||||
base::WeakPtrFactory<ServiceWorkerMain> weak_factory_{this};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace electron::api
|
} // namespace electron::api
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue