Update privacy_sandbox_settings.cc

This commit is contained in:
Alexander David Frick 2021-11-28 15:03:40 -06:00 committed by GitHub
parent 232005cd87
commit deb699a8a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -533,9 +533,9 @@ void PrivacySandboxSettings::MaybeReconcilePrivacySandboxPref() {
DCHECK(sync_service_);
DCHECK(identity_manager_);
if (!sync_service_observer_.IsObserving())
sync_service_observer_.Observe(sync_service_);
sync_service_observer_.Observe(sync_service_.get());
if (!identity_manager_observer_.IsObserving())
identity_manager_observer_.Observe(identity_manager_);
identity_manager_observer_.Observe(identity_manager_.get());
}
void PrivacySandboxSettings::ReconcilePrivacySandboxPref() {