[Rewards] Remove reentrant RewardsServiceObserver invocation (#36401)
This commit is contained in:
@@ -1136,8 +1136,10 @@ void RewardsServiceImpl::NotifyPublisherPageVisit(uint64_t tab_id,
|
||||
|
||||
auto publisher_domain = GetPublisherDomainFromURL(parsed_url);
|
||||
if (!publisher_domain) {
|
||||
mojom::PublisherInfoPtr info;
|
||||
OnPanelPublisherInfo(mojom::Result::NOT_FOUND, std::move(info), tab_id);
|
||||
DeferCallback(FROM_HERE,
|
||||
base::BindOnce(&RewardsServiceImpl::OnPanelPublisherInfo,
|
||||
AsWeakPtr(), mojom::Result::NOT_FOUND,
|
||||
mojom::PublisherInfoPtr(), tab_id));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user