diff --git a/src/components/privacy_sandbox/privacy_sandbox_settings.cc b/src/components/privacy_sandbox/privacy_sandbox_settings.cc index 2be65f9a..197f59f4 100644 --- a/src/components/privacy_sandbox/privacy_sandbox_settings.cc +++ b/src/components/privacy_sandbox/privacy_sandbox_settings.cc @@ -420,8 +420,9 @@ bool PrivacySandboxSettings::IsPrivacySandboxEnabledForContext( // Third party cookies must also be available for this context. An empty site // for cookies is provided so the context is always treated as a third party. - return cookie_settings_->IsFullCookieAccessAllowed(url, net::SiteForCookies(), - top_frame_origin); + return cookie_settings_->IsFullCookieAccessAllowed( + url, net::SiteForCookies(), top_frame_origin, + content_settings::CookieSettings::QueryReason::kPrivacySandbox); } void PrivacySandboxSettings::SetTopicsDataAccessibleFromNow() const {