mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
refactor: remove unused weak_factory_ in electron_management_api_delegate.cc (#46221)
refactor: remove unused weak_factory_
Appears to have been added in 3745b76da but never used
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
@@ -44,10 +44,6 @@ class ManagementSetEnabledFunctionInstallPromptDelegate
|
||||
const ManagementSetEnabledFunctionInstallPromptDelegate&) = delete;
|
||||
ManagementSetEnabledFunctionInstallPromptDelegate& operator=(
|
||||
const ManagementSetEnabledFunctionInstallPromptDelegate&) = delete;
|
||||
|
||||
private:
|
||||
base::WeakPtrFactory<ManagementSetEnabledFunctionInstallPromptDelegate>
|
||||
weak_factory_{this};
|
||||
};
|
||||
|
||||
class ManagementUninstallFunctionUninstallDialogDelegate
|
||||
|
||||
Reference in New Issue
Block a user