Skip to content

Commit

Permalink
Merge pull request #15122 from /issues/25450
Browse files Browse the repository at this point in the history
Remove Brave Ads redundant new tab page ad wallpaper validation
  • Loading branch information
tmancey committed Sep 16, 2022
2 parents 2b4532c + ea1ada8 commit 39620e0
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,6 @@ void Serving::ServeAd(const NewTabPageAdInfo& ad,
return;
}

if (ad.wallpapers.empty()) {
BLOG(1, "Failed to serve new tab page ad due to missing wallpapers");
callback(/*ads*/ absl::nullopt);
return;
}

BLOG(1, "Served new tab page ad:\n"
<< " placementId: " << ad.placement_id << "\n"
<< " creativeInstanceId: " << ad.creative_instance_id << "\n"
Expand Down

0 comments on commit 39620e0

Please sign in to comment.