diff --git a/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch b/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch index 52e092d3..5b5bafc3 100644 --- a/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch +++ b/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch @@ -7464,37 +7464,3 @@ {tab_groups::prefs::kAutoPinNewTabGroups, {syncable_prefs_ids::kAutoPinNewTabGroups, syncer::PREFERENCES, PrefSensitivity::kNone, MergeBehavior::kNone}}, ---- a/content/browser/webid/request_service.cc -+++ b/content/browser/webid/request_service.cc -@@ -192,31 +192,6 @@ RequestService::~RequestService() { - void RequestService::Create( - RenderFrameHost* host, - mojo::PendingReceiver receiver) { -- CHECK(host); -- -- BrowserContext* browser_context = host->GetBrowserContext(); -- raw_ptr -- api_permission_context = -- browser_context->GetFederatedIdentityApiPermissionContext(); -- raw_ptr -- auto_reauthn_permission_context = -- browser_context->GetFederatedIdentityAutoReauthnPermissionContext(); -- raw_ptr permission_context = -- browser_context->GetFederatedIdentityPermissionContext(); -- raw_ptr identity_registry = -- IdentityRegistry::FromWebContents(WebContents::FromRenderFrameHost(host)); -- -- if (!api_permission_context || !auto_reauthn_permission_context || -- !permission_context) { -- return; -- } -- -- // RequestService owns itself. It will self-destruct when a mojo -- // interface error occurs, the RenderFrameHost is deleted, or the -- // RenderFrameHost navigates to a new document. -- new RequestService(*host, api_permission_context, -- auto_reauthn_permission_context, permission_context, -- identity_registry, std::move(receiver)); - } - - RequestService& RequestService::CreateForTesting(