Skip to content

Commit

Permalink
Removed wrong DCHECK at BraveSyncAlertsService (#24577)
Browse files Browse the repository at this point in the history
Removed wrong DCHECK at BraveSyncAlertsService
  • Loading branch information
AlexeyBarabash authored Jul 10, 2024
1 parent 530a1cf commit b4332ca
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions browser/sync/brave_sync_alerts_service.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ using syncer::BraveSyncServiceImpl;

BraveSyncAlertsService::BraveSyncAlertsService(Profile* profile)
: profile_(profile) {
DCHECK(SyncServiceFactory::IsSyncAllowed(profile));

if (SyncServiceFactory::IsSyncAllowed(profile)) {
BraveSyncServiceImpl* service = static_cast<BraveSyncServiceImpl*>(
SyncServiceFactory::GetForProfile(profile_));
Expand Down

0 comments on commit b4332ca

Please sign in to comment.