refactor: remove unused weak_factory_ in electron_management_api_delegate.cc (#46220)

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:
trop[bot] 2025-03-24 10:53:57 -05:00 committed by GitHub
parent 628288f074
commit 37f876e3b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -44,10 +44,6 @@ class ManagementSetEnabledFunctionInstallPromptDelegate
const ManagementSetEnabledFunctionInstallPromptDelegate&) = delete;
ManagementSetEnabledFunctionInstallPromptDelegate& operator=(
const ManagementSetEnabledFunctionInstallPromptDelegate&) = delete;
private:
base::WeakPtrFactory<ManagementSetEnabledFunctionInstallPromptDelegate>
weak_factory_{this};
};
class ManagementUninstallFunctionUninstallDialogDelegate