Skip to content

Commit 37c8a83

Browse files
committed
fixup! [cr138] kUsePopularSitesSuggestions deleted upstream
1 parent 4042030 commit 37c8a83

File tree

2 files changed

+3
-18
lines changed

2 files changed

+3
-18
lines changed

chromium_src/components/ntp_tiles/most_visited_sites.cc

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,9 @@
55

66
#include "components/ntp_tiles/popular_sites.h"
77

8-
// Replace MaybeStartFetch with an innocuous call, as we don't want to download
9-
// the popular sites
10-
#define MaybeStartFetch(...) sections()
11-
#define BRAVE_MOST_VISITED_SITES_CREATE_POPULAR_SITES_SECTIONS return sections;
8+
// We don't support downloading popular sites
9+
#define popular_sites_(...) popular_sites_(nullptr)
1210

1311
#include "src/components/ntp_tiles/most_visited_sites.cc"
1412

15-
#undef BRAVE_MOST_VISITED_SITES_CREATE_POPULAR_SITES_SECTIONS
16-
#undef MaybeStartFetch
13+
#undef popular_sites_

patches/components-ntp_tiles-most_visited_sites.cc.patch

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)